bss03 icon

Stryker Log BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED

bss03 | PRO | 06/18/20 01:50:41 AM UTC | 0 ⭐ | 451 👁️ | Never ⏰ | []
text |

31.06 KB

|

None

|

0 👍

/

0 👎

20:40:01 (47707) INFO ConfigReader Using stryker.conf.json20:40:01 (47707) DEBUG BroadcastReporter Broadcasting to reporters ["clear-text","progress","html"]20:40:01 (47707) DEBUG ConfigReader Loading config /home/bss/git/vue-webpack-ts-lambda/stryker.conf.json20:40:01 (47707) DEBUG ConfigReader Loaded config: {  "$schema": "https://raw.githubusercontent.com/stryker-mutator/stryker/master/packages/api/schema/stryker-core.json",  "mutate": [    "{src,lib,tests}/**/*.{{j,t}s?(x),vue}",    "!{src,lib,tests}/**/__tests__/**/*.{{j,t}s?(x),vue}",    "!{src,lib,tests}/**/?(*.)+(spec|test).{{j,t}s?(x),vue}",    "!{src,lib,tests}/**/*+(Spec|Test).{{j,t}s?(x),vue}"  ],  "mutator": "vue",  "commandRunner": {    "command": "npm run test:unit"  },  "reporters": [    "clear-text",    "progress",    "html"  ],  "coverageAnalysis": "perTest",  "allowConsoleColors": true,  "clearTextReporter": {    "allowColor": true,    "logTests": true,    "maxTestsToLog": 3  },  "dashboard": {    "baseUrl": "https://dashboard.stryker-mutator.io/api/reports",    "reportType": "full"  },  "eventReporter": {    "baseDir": "reports/mutation/events"  },  "fileLogLevel": "trace",  "logLevel": "debug",  "maxConcurrentTestRunners": 9007199254740991,  "plugins": [    "@stryker-mutator/*"  ],  "symlinkNodeModules": true,  "tempDirName": ".stryker-tmp",  "testRunner": "command",  "thresholds": {    "high": 80,    "low": 60,    "break": null  },  "timeoutFactor": 1.5,  "timeoutMS": 5000,  "transpilers": [],  "warnings": true,  "configFile": "/home/bss/git/vue-webpack-ts-lambda/stryker.conf.json"}20:40:01 (47707) DEBUG PluginLoader Loading @stryker-mutator/* from /home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator20:40:01 (47707) DEBUG PluginLoader Loading plugin "/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/html-reporter" (matched with expression @stryker-mutator/*)20:40:01 (47707) DEBUG PluginLoader Loading plugin "/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/javascript-mutator" (matched with expression @stryker-mutator/*)20:40:01 (47707) DEBUG PluginLoader Loading plugin "/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/jest-runner" (matched with expression @stryker-mutator/*)20:40:01 (47707) DEBUG PluginLoader Loading plugin "/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/typescript" (matched with expression @stryker-mutator/*)20:40:01 (47707) DEBUG PluginLoader Loading plugin "/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/vue-mutator" (matched with expression @stryker-mutator/*)20:40:01 (47707) WARN InputFileResolver Globbing expression "{src,lib,tests}/**/__tests__/**/*.{{j,t}s?(x),vue}" did not result in any files.20:40:01 (47707) DEBUG PluginLoader Loading plugins /home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/html-reporter20:40:01 (47707) DEBUG PluginLoader Loading plugins /home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/javascript-mutator20:40:01 (47707) DEBUG PluginLoader Loading plugins /home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/jest-runner20:40:01 (47707) DEBUG PluginLoader Loading plugins /home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/typescript20:40:01 (47707) DEBUG PluginLoader Loading plugins /home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/vue-mutator20:40:01 (47707) DEBUG PluginLoader Loading plugins /home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/core/src/reporters/index.js20:40:01 (47707) DEBUG buildSchemaWithPluginContributions Contributing 2 schemas from plugins to options validation.20:40:01 (47707) WARN markUnknownOptions Unknown stryker config option "commandRunner".20:40:01 (47707) WARN InputFileResolver Globbing expression "{src,lib,tests}/**/*+(Spec|Test).{{j,t}s?(x),vue}" did not result in any files.20:40:01 (47707) WARN markUnknownOptions    Possible causes:   * Is it a typo on your end?   * Did you only write this property as a comment? If so, please postfix it with "_comment".   * You might be missing a plugin that is supposed to use it. Stryker loaded plugins from: ["@stryker-mutator/*","/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/core/src/reporters/index.js"]   * The plugin that is using it did not contribute explicit validation.    (disable "warnings.unknownOptions" to ignore this warning)20:40:01 (47707) DEBUG TypescriptOptionsEditor No 'tsconfigFile' specified, not loading any config20:40:02 (47707) INFO InputFileResolver Found 14 of 26 file(s) to be mutated.20:40:02 (47707) DEBUG InputFileResolver All input files: [  "/home/bss/git/vue-webpack-ts-lambda/stryker.conf.json",  "/home/bss/git/vue-webpack-ts-lambda/stryker.log",  "/home/bss/git/vue-webpack-ts-lambda/.gitignore",  "/home/bss/git/vue-webpack-ts-lambda/.gitlab-ci.yml",  "/home/bss/git/vue-webpack-ts-lambda/README.md",  "/home/bss/git/vue-webpack-ts-lambda/package-lock.json",  "/home/bss/git/vue-webpack-ts-lambda/package.json",  "/home/bss/git/vue-webpack-ts-lambda/public/favicon.ico",  "/home/bss/git/vue-webpack-ts-lambda/public/index.html",  "/home/bss/git/vue-webpack-ts-lambda/src/App.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/App.vue",  "/home/bss/git/vue-webpack-ts-lambda/src/Magma.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/components/MinifierDisplay.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/components/MinifierDisplay.vue",  "/home/bss/git/vue-webpack-ts-lambda/src/components/PrettyPrintedDisplay.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/components/PrettyPrintedDisplay.vue",  "/home/bss/git/vue-webpack-ts-lambda/src/main.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/parser.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/prettier.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/shim-arcsecond.d.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/shims-tsx.d.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/shims-vue.d.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/utlc.ts",  "/home/bss/git/vue-webpack-ts-lambda/tests/unit/Magma.spec.ts",  "/home/bss/git/vue-webpack-ts-lambda/tsconfig.json",  "/home/bss/git/vue-webpack-ts-lambda/vue.config.js"]20:40:02 (47707) DEBUG InputFileResolver Files to mutate: [  "/home/bss/git/vue-webpack-ts-lambda/src/App.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/App.vue",  "/home/bss/git/vue-webpack-ts-lambda/src/Magma.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/components/MinifierDisplay.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/components/MinifierDisplay.vue",  "/home/bss/git/vue-webpack-ts-lambda/src/components/PrettyPrintedDisplay.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/components/PrettyPrintedDisplay.vue",  "/home/bss/git/vue-webpack-ts-lambda/src/main.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/parser.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/prettier.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/shim-arcsecond.d.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/shims-tsx.d.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/shims-vue.d.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/utlc.ts"]20:40:02 (47707) DEBUG TemporaryDirectory Using temp directory "/home/bss/git/vue-webpack-ts-lambda/.stryker-tmp"20:40:02 (47707) WARN TestFrameworkOrchestrator Missing config settings `testFramework`. Set `coverageAnalysis` option explicitly to "off" to ignore this warning.20:40:02 (47707) INFO InitialTestExecutor Starting initial test run. This may take a while.20:40:02 (47707) ERROR StrykerCli an error occurred { Error: Could not instrument "/home/bss/git/vue-webpack-ts-lambda/src/App.ts" for code coverage. Inner error: SyntaxError: BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED (undefined) SyntaxError: 'import' and 'export' may appear only with 'sourceType: "module"' (1:0)    at Object._raise (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:746:17)    at Object.raiseWithData (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:739:17)    at Object.assertModuleNodeAllowed (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11296:12)    at Object.assertModuleNodeAllowed (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:2754:11)    at Object.parseStatementContent (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11267:16)    at Object.parseStatement (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11156:17)    at Object.parseStatement (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:2550:26)    at Object.parseBlockOrModuleBlockBody (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11731:25)    at Object.parseBlockBody (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11717:10)    at Object.parseTopLevel (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11087:10)    at CoverageInstrumenterTranspiler.instrumentFile (/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/core/src/transpiler/CoverageInstrumenterTranspiler.js:69:19)    at CoverageInstrumenterTranspiler.instrumentFileIfNeeded (/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/core/src/transpiler/CoverageInstrumenterTranspiler.js:55:25)    at files.map (/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/core/src/transpiler/CoverageInstrumenterTranspiler.js:15:41)    at Array.map (<anonymous>)    at CoverageInstrumenterTranspiler.transpile (/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/core/src/transpiler/CoverageInstrumenterTranspiler.js:15:22)    at InitialTestExecutor.annotateForCodeCoverage (/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/core/src/process/InitialTestExecutor.js:60:72)    at InitialTestExecutor.run (/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/core/src/process/InitialTestExecutor.js:37:64)  innerError:   { SyntaxError: 'import' and 'export' may appear only with 'sourceType: "module"' (1:0)       at Object._raise (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:746:17)       at Object.raiseWithData (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:739:17)       at Object.assertModuleNodeAllowed (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11296:12)       at Object.assertModuleNodeAllowed (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:2754:11)       at Object.parseStatementContent (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11267:16)       at Object.parseStatement (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11156:17)       at Object.parseStatement (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:2550:26)       at Object.parseBlockOrModuleBlockBody (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11731:25)       at Object.parseBlockBody (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11717:10)       at Object.parseTopLevel (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11087:10)     loc: Position { line: 1, column: 0 },     pos: 0,     code: 'BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED' } }20:43:44 (76119) INFO ConfigReader Using stryker.conf.json20:43:44 (76119) DEBUG BroadcastReporter Broadcasting to reporters ["clear-text","progress","html"]20:43:44 (76119) DEBUG ConfigReader Loading config /home/bss/git/vue-webpack-ts-lambda/stryker.conf.json20:43:44 (76119) DEBUG ConfigReader Loaded config: {  "$schema": "https://raw.githubusercontent.com/stryker-mutator/stryker/master/packages/api/schema/stryker-core.json",  "mutate": [    "{src,lib,tests}/**/*.{{j,t}s?(x),vue}",    "!{src,lib,tests}/**/?(*.)+(spec|test).{{j,t}s?(x),vue}"  ],  "mutator": "vue",  "testRunner": "jest",  "reporters": [    "clear-text",    "progress",    "html"  ],  "coverageAnalysis": "perTest",  "allowConsoleColors": true,  "clearTextReporter": {    "allowColor": true,    "logTests": true,    "maxTestsToLog": 3  },  "dashboard": {    "baseUrl": "https://dashboard.stryker-mutator.io/api/reports",    "reportType": "full"  },  "eventReporter": {    "baseDir": "reports/mutation/events"  },  "fileLogLevel": "trace",  "logLevel": "debug",  "maxConcurrentTestRunners": 9007199254740991,  "plugins": [    "@stryker-mutator/*"  ],  "symlinkNodeModules": true,  "tempDirName": ".stryker-tmp",  "thresholds": {    "high": 80,    "low": 60,    "break": null  },  "timeoutFactor": 1.5,  "timeoutMS": 5000,  "transpilers": [],  "warnings": true,  "configFile": "/home/bss/git/vue-webpack-ts-lambda/stryker.conf.json"}20:43:44 (76119) DEBUG PluginLoader Loading @stryker-mutator/* from /home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator20:43:44 (76119) DEBUG PluginLoader Loading plugin "/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/javascript-mutator" (matched with expression @stryker-mutator/*)20:43:44 (76119) DEBUG PluginLoader Loading plugin "/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/jest-runner" (matched with expression @stryker-mutator/*)20:43:44 (76119) DEBUG PluginLoader Loading plugin "/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/typescript" (matched with expression @stryker-mutator/*)20:43:44 (76119) DEBUG PluginLoader Loading plugin "/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/vue-mutator" (matched with expression @stryker-mutator/*)20:43:44 (76119) DEBUG PluginLoader Loading plugins /home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/javascript-mutator20:43:44 (76119) DEBUG PluginLoader Loading plugins /home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/jest-runner20:43:44 (76119) DEBUG PluginLoader Loading plugins /home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/typescript20:43:44 (76119) DEBUG PluginLoader Loading plugins /home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/vue-mutator20:43:44 (76119) DEBUG PluginLoader Loading plugins /home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/core/src/reporters/index.js20:43:44 (76119) DEBUG buildSchemaWithPluginContributions Contributing 2 schemas from plugins to options validation.20:43:44 (76119) DEBUG TypescriptOptionsEditor No 'tsconfigFile' specified, not loading any config20:43:45 (76119) INFO InputFileResolver Found 14 of 26 file(s) to be mutated.20:43:45 (76119) DEBUG InputFileResolver All input files: [  "/home/bss/git/vue-webpack-ts-lambda/stryker.conf.json",  "/home/bss/git/vue-webpack-ts-lambda/stryker.log",  "/home/bss/git/vue-webpack-ts-lambda/.gitignore",  "/home/bss/git/vue-webpack-ts-lambda/.gitlab-ci.yml",  "/home/bss/git/vue-webpack-ts-lambda/README.md",  "/home/bss/git/vue-webpack-ts-lambda/package-lock.json",  "/home/bss/git/vue-webpack-ts-lambda/package.json",  "/home/bss/git/vue-webpack-ts-lambda/public/favicon.ico",  "/home/bss/git/vue-webpack-ts-lambda/public/index.html",  "/home/bss/git/vue-webpack-ts-lambda/src/App.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/App.vue",  "/home/bss/git/vue-webpack-ts-lambda/src/Magma.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/components/MinifierDisplay.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/components/MinifierDisplay.vue",  "/home/bss/git/vue-webpack-ts-lambda/src/components/PrettyPrintedDisplay.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/components/PrettyPrintedDisplay.vue",  "/home/bss/git/vue-webpack-ts-lambda/src/main.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/parser.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/prettier.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/shim-arcsecond.d.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/shims-tsx.d.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/shims-vue.d.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/utlc.ts",  "/home/bss/git/vue-webpack-ts-lambda/tests/unit/Magma.spec.ts",  "/home/bss/git/vue-webpack-ts-lambda/tsconfig.json",  "/home/bss/git/vue-webpack-ts-lambda/vue.config.js"]20:43:45 (76119) DEBUG InputFileResolver Files to mutate: [  "/home/bss/git/vue-webpack-ts-lambda/src/App.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/App.vue",  "/home/bss/git/vue-webpack-ts-lambda/src/Magma.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/components/MinifierDisplay.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/components/MinifierDisplay.vue",  "/home/bss/git/vue-webpack-ts-lambda/src/components/PrettyPrintedDisplay.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/components/PrettyPrintedDisplay.vue",  "/home/bss/git/vue-webpack-ts-lambda/src/main.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/parser.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/prettier.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/shim-arcsecond.d.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/shims-tsx.d.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/shims-vue.d.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/utlc.ts"]20:43:45 (76119) DEBUG TemporaryDirectory Using temp directory "/home/bss/git/vue-webpack-ts-lambda/.stryker-tmp"20:43:45 (76119) WARN TestFrameworkOrchestrator Missing config settings `testFramework`. Set `coverageAnalysis` option explicitly to "off" to ignore this warning.20:43:45 (76119) INFO InitialTestExecutor Starting initial test run. This may take a while.20:43:45 (76119) ERROR StrykerCli an error occurred { Error: Could not instrument "/home/bss/git/vue-webpack-ts-lambda/src/App.ts" for code coverage. Inner error: SyntaxError: BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED (undefined) SyntaxError: 'import' and 'export' may appear only with 'sourceType: "module"' (1:0)    at Object._raise (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:746:17)    at Object.raiseWithData (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:739:17)    at Object.assertModuleNodeAllowed (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11296:12)    at Object.assertModuleNodeAllowed (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:2754:11)    at Object.parseStatementContent (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11267:16)    at Object.parseStatement (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11156:17)    at Object.parseStatement (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:2550:26)    at Object.parseBlockOrModuleBlockBody (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11731:25)    at Object.parseBlockBody (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11717:10)    at Object.parseTopLevel (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11087:10)    at CoverageInstrumenterTranspiler.instrumentFile (/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/core/src/transpiler/CoverageInstrumenterTranspiler.js:69:19)    at CoverageInstrumenterTranspiler.instrumentFileIfNeeded (/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/core/src/transpiler/CoverageInstrumenterTranspiler.js:55:25)    at files.map (/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/core/src/transpiler/CoverageInstrumenterTranspiler.js:15:41)    at Array.map (<anonymous>)    at CoverageInstrumenterTranspiler.transpile (/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/core/src/transpiler/CoverageInstrumenterTranspiler.js:15:22)    at InitialTestExecutor.annotateForCodeCoverage (/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/core/src/process/InitialTestExecutor.js:60:72)    at InitialTestExecutor.run (/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/core/src/process/InitialTestExecutor.js:37:64)  innerError:   { SyntaxError: 'import' and 'export' may appear only with 'sourceType: "module"' (1:0)       at Object._raise (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:746:17)       at Object.raiseWithData (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:739:17)       at Object.assertModuleNodeAllowed (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11296:12)       at Object.assertModuleNodeAllowed (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:2754:11)       at Object.parseStatementContent (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11267:16)       at Object.parseStatement (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11156:17)       at Object.parseStatement (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:2550:26)       at Object.parseBlockOrModuleBlockBody (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11731:25)       at Object.parseBlockBody (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11717:10)       at Object.parseTopLevel (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11087:10)     loc: Position { line: 1, column: 0 },     pos: 0,     code: 'BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED' } }20:49:09 (17533) INFO ConfigReader Using stryker.conf.json20:49:10 (17533) DEBUG BroadcastReporter Broadcasting to reporters ["clear-text","progress","html"]20:49:09 (17533) DEBUG ConfigReader Loading config /home/bss/git/vue-webpack-ts-lambda/stryker.conf.json20:49:09 (17533) DEBUG ConfigReader Loaded config: {  "$schema": "https://raw.githubusercontent.com/stryker-mutator/stryker/master/packages/api/schema/stryker-core.json",  "mutate": [    "{src,lib,tests}/**/*.{{j,t}s?(x),vue}",    "!{src,lib,tests}/**/?(*.)+(spec|test).{{j,t}s?(x),vue}"  ],  "mutator": "vue",  "testRunner": "jest",  "reporters": [    "clear-text",    "progress",    "html"  ],  "coverageAnalysis": "perTest",  "allowConsoleColors": true,  "clearTextReporter": {    "allowColor": true,    "logTests": true,    "maxTestsToLog": 3  },  "dashboard": {    "baseUrl": "https://dashboard.stryker-mutator.io/api/reports",    "reportType": "full"  },  "eventReporter": {    "baseDir": "reports/mutation/events"  },  "fileLogLevel": "trace",  "logLevel": "debug",  "maxConcurrentTestRunners": 9007199254740991,  "plugins": [    "@stryker-mutator/*"  ],  "symlinkNodeModules": true,  "tempDirName": ".stryker-tmp",  "thresholds": {    "high": 80,    "low": 60,    "break": null  },  "timeoutFactor": 1.5,  "timeoutMS": 5000,  "transpilers": [],  "warnings": true,  "configFile": "/home/bss/git/vue-webpack-ts-lambda/stryker.conf.json"}20:49:09 (17533) DEBUG PluginLoader Loading @stryker-mutator/* from /home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator20:49:09 (17533) DEBUG PluginLoader Loading plugin "/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/javascript-mutator" (matched with expression @stryker-mutator/*)20:49:09 (17533) DEBUG PluginLoader Loading plugin "/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/jest-runner" (matched with expression @stryker-mutator/*)20:49:09 (17533) DEBUG PluginLoader Loading plugin "/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/typescript" (matched with expression @stryker-mutator/*)20:49:09 (17533) DEBUG PluginLoader Loading plugin "/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/vue-mutator" (matched with expression @stryker-mutator/*)20:49:09 (17533) DEBUG PluginLoader Loading plugins /home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/javascript-mutator20:49:09 (17533) DEBUG PluginLoader Loading plugins /home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/jest-runner20:49:09 (17533) DEBUG PluginLoader Loading plugins /home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/typescript20:49:10 (17533) DEBUG PluginLoader Loading plugins /home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/vue-mutator20:49:10 (17533) DEBUG PluginLoader Loading plugins /home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/core/src/reporters/index.js20:49:10 (17533) DEBUG buildSchemaWithPluginContributions Contributing 2 schemas from plugins to options validation.20:49:10 (17533) DEBUG TypescriptOptionsEditor No 'tsconfigFile' specified, not loading any config20:49:10 (17533) INFO InputFileResolver Found 14 of 26 file(s) to be mutated.20:49:10 (17533) DEBUG InputFileResolver All input files: [  "/home/bss/git/vue-webpack-ts-lambda/stryker.conf.json",  "/home/bss/git/vue-webpack-ts-lambda/stryker.log",  "/home/bss/git/vue-webpack-ts-lambda/.gitignore",  "/home/bss/git/vue-webpack-ts-lambda/.gitlab-ci.yml",  "/home/bss/git/vue-webpack-ts-lambda/README.md",  "/home/bss/git/vue-webpack-ts-lambda/package-lock.json",  "/home/bss/git/vue-webpack-ts-lambda/package.json",  "/home/bss/git/vue-webpack-ts-lambda/public/favicon.ico",  "/home/bss/git/vue-webpack-ts-lambda/public/index.html",  "/home/bss/git/vue-webpack-ts-lambda/src/App.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/App.vue",  "/home/bss/git/vue-webpack-ts-lambda/src/Magma.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/components/MinifierDisplay.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/components/MinifierDisplay.vue",  "/home/bss/git/vue-webpack-ts-lambda/src/components/PrettyPrintedDisplay.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/components/PrettyPrintedDisplay.vue",  "/home/bss/git/vue-webpack-ts-lambda/src/main.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/parser.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/prettier.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/shim-arcsecond.d.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/shims-tsx.d.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/shims-vue.d.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/utlc.ts",  "/home/bss/git/vue-webpack-ts-lambda/tests/unit/Magma.spec.ts",  "/home/bss/git/vue-webpack-ts-lambda/tsconfig.json",  "/home/bss/git/vue-webpack-ts-lambda/vue.config.js"]20:49:10 (17533) DEBUG InputFileResolver Files to mutate: [  "/home/bss/git/vue-webpack-ts-lambda/src/App.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/App.vue",  "/home/bss/git/vue-webpack-ts-lambda/src/Magma.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/components/MinifierDisplay.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/components/MinifierDisplay.vue",  "/home/bss/git/vue-webpack-ts-lambda/src/components/PrettyPrintedDisplay.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/components/PrettyPrintedDisplay.vue",  "/home/bss/git/vue-webpack-ts-lambda/src/main.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/parser.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/prettier.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/shim-arcsecond.d.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/shims-tsx.d.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/shims-vue.d.ts",  "/home/bss/git/vue-webpack-ts-lambda/src/utlc.ts"]20:49:10 (17533) DEBUG TemporaryDirectory Using temp directory "/home/bss/git/vue-webpack-ts-lambda/.stryker-tmp"20:49:10 (17533) WARN TestFrameworkOrchestrator Missing config settings `testFramework`. Set `coverageAnalysis` option explicitly to "off" to ignore this warning.20:49:10 (17533) INFO InitialTestExecutor Starting initial test run. This may take a while.20:49:10 (17533) ERROR StrykerCli an error occurred { Error: Could not instrument "/home/bss/git/vue-webpack-ts-lambda/src/App.ts" for code coverage. Inner error: SyntaxError: BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED (undefined) SyntaxError: 'import' and 'export' may appear only with 'sourceType: "module"' (1:0)    at Object._raise (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:746:17)    at Object.raiseWithData (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:739:17)    at Object.assertModuleNodeAllowed (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11296:12)    at Object.assertModuleNodeAllowed (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:2754:11)    at Object.parseStatementContent (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11267:16)    at Object.parseStatement (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11156:17)    at Object.parseStatement (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:2550:26)    at Object.parseBlockOrModuleBlockBody (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11731:25)    at Object.parseBlockBody (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11717:10)    at Object.parseTopLevel (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11087:10)    at CoverageInstrumenterTranspiler.instrumentFile (/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/core/src/transpiler/CoverageInstrumenterTranspiler.js:69:19)    at CoverageInstrumenterTranspiler.instrumentFileIfNeeded (/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/core/src/transpiler/CoverageInstrumenterTranspiler.js:55:25)    at files.map (/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/core/src/transpiler/CoverageInstrumenterTranspiler.js:15:41)    at Array.map (<anonymous>)    at CoverageInstrumenterTranspiler.transpile (/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/core/src/transpiler/CoverageInstrumenterTranspiler.js:15:22)    at InitialTestExecutor.annotateForCodeCoverage (/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/core/src/process/InitialTestExecutor.js:60:72)    at InitialTestExecutor.run (/home/bss/git/vue-webpack-ts-lambda/node_modules/@stryker-mutator/core/src/process/InitialTestExecutor.js:37:64)  innerError:   { SyntaxError: 'import' and 'export' may appear only with 'sourceType: "module"' (1:0)       at Object._raise (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:746:17)       at Object.raiseWithData (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:739:17)       at Object.assertModuleNodeAllowed (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11296:12)       at Object.assertModuleNodeAllowed (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:2754:11)       at Object.parseStatementContent (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11267:16)       at Object.parseStatement (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11156:17)       at Object.parseStatement (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:2550:26)       at Object.parseBlockOrModuleBlockBody (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11731:25)       at Object.parseBlockBody (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11717:10)       at Object.parseTopLevel (/home/bss/git/vue-webpack-ts-lambda/node_modules/@babel/parser/lib/index.js:11087:10)     loc: Position { line: 1, column: 0 },     pos: 0,     code: 'BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED' } }

Comments