diff --git a/packages/eslint-plugin-kolibri/tests/lib/rules/vue-no-undefined-string-uses.spec.js b/packages/eslint-plugin-kolibri/tests/lib/rules/vue-no-undefined-string-uses.spec.js index 8dcff408848..cbd03e9a6ea 100644 --- a/packages/eslint-plugin-kolibri/tests/lib/rules/vue-no-undefined-string-uses.spec.js +++ b/packages/eslint-plugin-kolibri/tests/lib/rules/vue-no-undefined-string-uses.spec.js @@ -4,7 +4,7 @@ const RuleTester = require('eslint').RuleTester; const rule = require('../../../lib/rules/vue-no-undefined-string-uses'); const tester = new RuleTester({ - parser: 'vue-eslint-parser', + parser: require.resolve('vue-eslint-parser'), parserOptions: { ecmaVersion: 2018, sourceType: 'module', diff --git a/packages/eslint-plugin-kolibri/tests/lib/rules/vue-no-unused-methods.spec.js b/packages/eslint-plugin-kolibri/tests/lib/rules/vue-no-unused-methods.spec.js index d5b8a30b8a3..21a3e073d13 100644 --- a/packages/eslint-plugin-kolibri/tests/lib/rules/vue-no-unused-methods.spec.js +++ b/packages/eslint-plugin-kolibri/tests/lib/rules/vue-no-unused-methods.spec.js @@ -4,7 +4,7 @@ const RuleTester = require('eslint').RuleTester; const rule = require('../../../lib/rules/vue-no-unused-methods'); const tester = new RuleTester({ - parser: 'vue-eslint-parser', + parser: require.resolve('vue-eslint-parser'), parserOptions: { ecmaVersion: 2018, sourceType: 'module', diff --git a/packages/eslint-plugin-kolibri/tests/lib/rules/vue-no-unused-properties.spec.js b/packages/eslint-plugin-kolibri/tests/lib/rules/vue-no-unused-properties.spec.js index 9feda4680f7..56da0417e47 100644 --- a/packages/eslint-plugin-kolibri/tests/lib/rules/vue-no-unused-properties.spec.js +++ b/packages/eslint-plugin-kolibri/tests/lib/rules/vue-no-unused-properties.spec.js @@ -4,7 +4,7 @@ const RuleTester = require('eslint').RuleTester; const rule = require('../../../lib/rules/vue-no-unused-properties'); const tester = new RuleTester({ - parser: 'vue-eslint-parser', + parser: require.resolve('vue-eslint-parser'), parserOptions: { ecmaVersion: 2018, sourceType: 'module', diff --git a/packages/eslint-plugin-kolibri/tests/lib/rules/vue-no-unused-translations.spec.js b/packages/eslint-plugin-kolibri/tests/lib/rules/vue-no-unused-translations.spec.js index 8cac06e1e9c..2fe7610c1e1 100644 --- a/packages/eslint-plugin-kolibri/tests/lib/rules/vue-no-unused-translations.spec.js +++ b/packages/eslint-plugin-kolibri/tests/lib/rules/vue-no-unused-translations.spec.js @@ -4,7 +4,7 @@ const RuleTester = require('eslint').RuleTester; const rule = require('../../../lib/rules/vue-no-unused-translations'); const tester = new RuleTester({ - parser: 'vue-eslint-parser', + parser: require.resolve('vue-eslint-parser'), parserOptions: { ecmaVersion: 2018, sourceType: 'module', diff --git a/packages/eslint-plugin-kolibri/tests/lib/rules/vue-no-unused-vuex-methods.spec.js b/packages/eslint-plugin-kolibri/tests/lib/rules/vue-no-unused-vuex-methods.spec.js index aae177fd9fa..33cdda92e14 100644 --- a/packages/eslint-plugin-kolibri/tests/lib/rules/vue-no-unused-vuex-methods.spec.js +++ b/packages/eslint-plugin-kolibri/tests/lib/rules/vue-no-unused-vuex-methods.spec.js @@ -4,7 +4,7 @@ const RuleTester = require('eslint').RuleTester; const rule = require('../../../lib/rules/vue-no-unused-vuex-methods'); const tester = new RuleTester({ - parser: 'vue-eslint-parser', + parser: require.resolve('vue-eslint-parser'), parserOptions: { ecmaVersion: 2018, sourceType: 'module', diff --git a/packages/eslint-plugin-kolibri/tests/lib/rules/vue-no-unused-vuex-properties.spec.js b/packages/eslint-plugin-kolibri/tests/lib/rules/vue-no-unused-vuex-properties.spec.js index 15ebb06dcde..d155923619e 100644 --- a/packages/eslint-plugin-kolibri/tests/lib/rules/vue-no-unused-vuex-properties.spec.js +++ b/packages/eslint-plugin-kolibri/tests/lib/rules/vue-no-unused-vuex-properties.spec.js @@ -4,7 +4,7 @@ const RuleTester = require('eslint').RuleTester; const rule = require('../../../lib/rules/vue-no-unused-vuex-properties'); const tester = new RuleTester({ - parser: 'vue-eslint-parser', + parser: require.resolve('vue-eslint-parser'), parserOptions: { ecmaVersion: 2018, sourceType: 'module', diff --git a/packages/eslint-plugin-kolibri/tests/lib/rules/vue-watch-no-string.spec.js b/packages/eslint-plugin-kolibri/tests/lib/rules/vue-watch-no-string.spec.js index b84cb49cfc5..88df5e5f0cd 100644 --- a/packages/eslint-plugin-kolibri/tests/lib/rules/vue-watch-no-string.spec.js +++ b/packages/eslint-plugin-kolibri/tests/lib/rules/vue-watch-no-string.spec.js @@ -4,7 +4,7 @@ const RuleTester = require('eslint').RuleTester; const rule = require('../../../lib/rules/vue-watch-no-string'); const tester = new RuleTester({ - parser: 'vue-eslint-parser', + parser: require.resolve('vue-eslint-parser'), parserOptions: { ecmaVersion: 2018, sourceType: 'module',