Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wallaby Nx auto config stopped working #3361

Open
gabrielgagne opened this issue Apr 11, 2024 · 3 comments
Open

Wallaby Nx auto config stopped working #3361

gabrielgagne opened this issue Apr 11, 2024 · 3 comments
Labels

Comments

@gabrielgagne
Copy link

gabrielgagne commented Apr 11, 2024

Issue description or question

At some point in the last couple days, wallaby's automatic configuration for our NX mono repo stopped working. It was working on my co-worker's machine this morning, but after a force core update it stopped working. Feels like it's not treating typescript file properly, with errors like:
image
or
image
I'm lauching these run with right-click on the lib folder + Wallaby.js: Configure and start.
Tried with Select configuration => custom directory. Same problems.

Wallaby diagnostics report

Here is the diagnostic report for the second error screenshot.
Trying to make a minimal reproduction code sample, will update later if successful.

{
  editorVersion: '1.88.0',
  pluginVersion: '1.0.374',
  editorType: 'VSCode',
  osVersion: 'win32 10.0.19045',
  nodeVersion: 'v20.10.0',
  coreVersion: '1.0.1555',
  checksum: 'ZGZjOGE5MGY2Y2Y4NGYzMGFhOTIyYjQ1MTVhOWQ0N2IsMTczMDkzNzYwMDAwMCww',
  config: {
    diagnostics: {
      jest: {
        config: {
          configs: [
            {
              automock: false,
              cache: true,
              cacheDirectory: 'C:\\Users\\g_abr\\AppData\\Local\\Temp\\jest',
              clearMocks: false,
              collectCoverageFrom: [],
              coverageDirectory: 'C:\\Projects\\wkc-web\\libs\\shared\\common\\util-file\\coverage',
              coveragePathIgnorePatterns: [ '\\\\node_modules\\\\' ],
              cwd: 'C:\\Projects\\wkc-web\\libs\\shared\\common\\util-file',
              dependencyExtractor: undefined,
              detectLeaks: false,
              detectOpenHandles: false,
              displayName: undefined,
              errorOnDeprecated: false,
              extensionsToTreatAsEsm: [],
              fakeTimers: { enableGlobally: false },
              filter: undefined,
              forceCoverageMatch: [],
              globalSetup: undefined,
              globalTeardown: undefined,
              globals: {},
              haste: { computeSha1: false, enableSymlinks: false, forceNodeFilesystemAPI: true, throwOnModuleCollision: false },
              id: 'c33faf5fc2a156c66be7dd659895c448',
              injectGlobals: true,
              moduleDirectories: [ 'node_modules' ],
              moduleFileExtensions: [
                'js',   'mjs',
                'cjs',  'jsx',
                'ts',   'tsx',
                'json', 'node'
              ],
              moduleNameMapper: [],
              modulePathIgnorePatterns: [],
              modulePaths: undefined,
              openHandlesTimeout: 1000,
              prettierPath: 'prettier',
              resetMocks: false,
              resetModules: false,
              resolver: undefined,
              restoreMocks: false,
              rootDir: 'C:\\Projects\\wkc-web\\libs\\shared\\common\\util-file',
              roots: [ 'C:\\Projects\\wkc-web\\libs\\shared\\common\\util-file' ],
              runner: 'C:\\Projects\\wkc-web\\node_modules\\jest-runner\\build\\index.js',
              runtime: undefined,
              sandboxInjectedGlobals: [],
              setupFiles: [],
              setupFilesAfterEnv: [],
              skipFilter: false,
              skipNodeResolution: undefined,
              slowTestThreshold: 5,
              snapshotFormat: { escapeString: false, printBasicPrototype: false },
              snapshotResolver: undefined,
              snapshotSerializers: [],
              testEnvironment: 'C:\\Projects\\wkc-web\\node_modules\\jest-environment-node\\build\\index.js',
              testEnvironmentOptions: {},
              testLocationInResults: false,
              testMatch: [ '**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[tj]s?(x)' ],
              testPathIgnorePatterns: [ '\\\\node_modules\\\\' ],
              testRegex: [],
              testRunner: 'C:\\Projects\\wkc-web\\node_modules\\jest-circus\\runner.js',
              transform: [ [ '\\.[jt]sx?$', 'C:\\Projects\\wkc-web\\node_modules\\babel-jest\\build\\index.js', {} ] ],
              transformIgnorePatterns: [ '\\\\node_modules\\\\', '\\.pnp\\.[^\\\\]+$' ],
              unmockedModulePathPatterns: undefined,
              watchPathIgnorePatterns: []
            }
          ],
          globalConfig: {
            bail: 0,
            changedFilesWithAncestor: false,
            changedSince: undefined,
            ci: false,
            collectCoverage: false,
            collectCoverageFrom: [],
            coverageDirectory: 'C:\\Projects\\wkc-web\\libs\\shared\\common\\util-file\\coverage',
            coverageProvider: 'babel',
            coverageReporters: [ 'json', 'text', 'lcov', 'clover' ],
            coverageThreshold: undefined,
            detectLeaks: false,
            detectOpenHandles: false,
            errorOnDeprecated: false,
            expand: false,
            filter: undefined,
            findRelatedTests: false,
            forceExit: false,
            globalSetup: undefined,
            globalTeardown: undefined,
            json: false,
            lastCommit: false,
            listTests: false,
            logHeapUsage: false,
            maxConcurrency: 5,
            maxWorkers: 15,
            noSCM: undefined,
            noStackTrace: false,
            nonFlagArgs: undefined,
            notify: false,
            notifyMode: 'failure-change',
            onlyChanged: false,
            onlyFailures: false,
            openHandlesTimeout: 1000,
            outputFile: undefined,
            passWithNoTests: false,
            projects: [],
            randomize: undefined,
            replname: undefined,
            reporters: undefined,
            rootDir: 'C:\\Projects\\wkc-web\\libs\\shared\\common\\util-file',
            runTestsByPath: false,
            seed: 2039354949,
            shard: undefined,
            showSeed: undefined,
            silent: undefined,
            skipFilter: false,
            snapshotFormat: { escapeString: false, printBasicPrototype: false },
            testFailureExitCode: 1,
            testNamePattern: undefined,
            testPathPattern: '',
            testResultsProcessor: undefined,
            testSequencer: 'C:\\Projects\\wkc-web\\node_modules\\@jest\\test-sequencer\\build\\index.js',
            testTimeout: undefined,
            updateSnapshot: 'new',
            useStderr: false,
            verbose: undefined,
            watch: false,
            watchAll: false,
            watchPlugins: undefined,
            watchman: true,
            workerIdleMemoryLimit: undefined,
            workerThreads: false
          },
          hasDeprecationWarnings: false,
          wallaby: {
            roots: [],
            watchPathIgnorePatterns: [ '\\\\node_modules\\\\', '\\.\\\\dist\\\\|\\.\\\\build\\\\|\\.\\\\coverage\\\\|\\.\\\\git\\\\|\\\\\\..+\\\\', 'C:\\Users\\g_abr\\AppData\\Local\\Temp\\jest', '\\.\\coverage' ],
            testPathIgnorePatterns: [ '\\\\node_modules\\\\', '\\.\\\\dist\\\\|\\.\\\\build\\\\|\\.\\\\coverage\\\\|\\.\\\\git\\\\|\\\\\\..+\\\\', 'C:\\Users\\g_abr\\AppData\\Local\\Temp\\jest', '\\.\\coverage' ],
            testMatch: [ '**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[tj]s?(x)' ],
            testRegex: []
          }
        }
      }
    },
    testFramework: { version: '[email protected]', configurator: '[email protected]', reporter: '[email protected]', starter: '[email protected]', autoDetected: true },
    filesWithCoverageCalculated: [],
    filesWithNoCoverageCalculated: [],
    globalSetup: false,
    dot: true,
    files: [
      { pattern: '\\\\node_modules\\\\', regexp: /\\node_modules\\/, ignore: true, trigger: true, load: true, file: true, test: true },
      {
        pattern: '\\.\\\\dist\\\\|\\.\\\\build\\\\|\\.\\\\coverage\\\\|\\.\\\\git\\\\|\\\\\\..+\\\\',
        regexp: /\.\\dist\\|\.\\build\\|\.\\coverage\\|\.\\git\\|\\\..+\\/,
        ignore: true,
        trigger: true,
        load: true,
        file: true,
        test: true
      },
      { pattern: 'C:\\Users\\g_abr\\AppData\\Local\\Temp\\jest', regexp: /<homeDir>\AppData\Local\Temp\jest/, ignore: true, trigger: true, load: true, file: true, test: true },
      { pattern: '\\.\\coverage', regexp: /\.\coverage/, ignore: true, trigger: true, load: true, file: true, test: true },
      { pattern: '**/**', ignore: false, trigger: true, load: true, order: 1 },
      { pattern: '**/__tests__/**/*.[jt]s?(x)', ignore: true, trigger: true, load: true, file: true },
      { pattern: '**/?(*.)+(spec|test).[tj]s?(x)', ignore: true, trigger: true, load: true, file: true }
    ],
    captureConsoleLog: true,
    tests: [
      { pattern: '\\\\node_modules\\\\', regexp: /\\node_modules\\/, ignore: true, trigger: true, load: true, test: true, file: false },
      {
        pattern: '\\.\\\\dist\\\\|\\.\\\\build\\\\|\\.\\\\coverage\\\\|\\.\\\\git\\\\|\\\\\\..+\\\\',
        regexp: /\.\\dist\\|\.\\build\\|\.\\coverage\\|\.\\git\\|\\\..+\\/,
        ignore: true,
        trigger: true,
        load: true,
        test: true,
        file: false
      },
      { pattern: 'C:\\Users\\g_abr\\AppData\\Local\\Temp\\jest', regexp: /<homeDir>\AppData\Local\Temp\jest/, ignore: true, trigger: true, load: true, test: true, file: false },
      { pattern: '\\.\\coverage', regexp: /\.\coverage/, ignore: true, trigger: true, load: true, test: true, file: false },
      { pattern: '**/__tests__/**/*.[jt]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 2 },
      { pattern: '**/?(*.)+(spec|test).[tj]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 3 }
    ],
    runAllTestsInAffectedTestFile: false,
    updateNoMoreThanOneSnapshotPerTestFileRun: false,
    compilers: {},
    logLimits: { inline: { depth: 5, elements: 5000 }, values: { default: { stringLength: 8192 }, autoExpand: { elements: 5000, stringLength: 8192, depth: 10 } } },
    preprocessors: {},
    maxConsoleMessagesPerTest: 100,
    autoConsoleLog: true,
    delays: { run: 0, edit: 100, update: 0 },
    workers: { initial: 0, regular: 0, recycle: false },
    teardown: undefined,
    hints: {
      ignoreCoverage: '__REGEXP /ignore coverage|istanbul ignore|c8 ignore/',
      ignoreCoverageForFile: '__REGEXP /ignore file coverage/',
      commentAutoLog: '?',
      testFileSelection: { include: '__REGEXP /file\\.only/', exclude: '__REGEXP /file\\.skip/' }
    },
    automaticTestFileSelection: true,
    runSelectedTestsOnly: false,
    mapConsoleMessagesStackTrace: false,
    extensions: {},
    env: { type: 'node', params: {}, runner: 'C:\\Program Files\\nodejs\\node.exe', viewportSize: { width: 800, height: 600 }, options: { width: 800, height: 600 }, bundle: true },
    reportUnhandledPromises: true,
    slowTestThreshold: 75,
    lowCoverageThreshold: 80,
    runAllTestsWhenNoAffectedTests: false,
    configCode: 'auto.detect#-3536526'
  },
  fs: { numberOfFiles: 13 },
  debug: [
    '2024-04-11T15:43:39.168Z project waiting for initial run signal\n',
    '2024-04-11T15:43:39.177Z config Attempting automatic configuration for angular\n',
    '2024-04-11T15:43:39.561Z angular/cli config Detected Angular CLI.\n',
    '2024-04-11T15:43:39.565Z angular/cli config Angular currentDirPath: "C:\\Projects\\wkc-web\\libs\\shared\\common\\util-file", workspaceDirPath: "C:\\Projects\\wkc-web"\n',
    '2024-04-11T15:43:39.569Z angular/cli config @nx/workspace v11.1.4 and higher uses jest automatic configuration.\n',
    '2024-04-11T15:43:39.569Z config Finished attempting automatic configuration for angular (392ms)\n',
    '2024-04-11T15:43:39.570Z config Attempting automatic configuration for jest\n',
    '2024-04-11T15:43:40.147Z jest/config Detected Jest.\n',
    '2024-04-11T15:43:40.147Z jest/config Configured Jest.\n',
    '2024-04-11T15:43:40.147Z config Finished attempting automatic configuration for jest (577ms)\n',
    '2024-04-11T15:43:40.149Z project Wallaby Node version: v20.10.0\n',
    '2024-04-11T15:43:40.149Z project Wallaby config: C:\\Projects\\wkc-web\\libs\\shared\\common\\util-file\\auto.detect\n',
    '2024-04-11T15:43:40.190Z fs File system starting\n',
    '2024-04-11T15:43:40.221Z fs File system scan completed\n',
    '2024-04-11T15:43:40.226Z project File cache: C:\\Users\\g_abr\\.vscode\\extensions\\wallabyjs.wallaby-vscode-1.0.374\\projects\\deea148724e6ff8e\n',
    '2024-04-11T15:43:40.407Z uiService Listening port 51235\n',
    '2024-04-11T15:43:40.418Z project package.json file change detected, invalidating local cache\n',
    '2024-04-11T15:43:40.426Z workers Parallelism for initial run: 14, for regular run: 7\n',
    '2024-04-11T15:43:40.426Z workers Starting run worker instance #0\n',
    '2024-04-11T15:43:40.427Z workers Starting run worker instance #1\n',
    '2024-04-11T15:43:40.427Z workers Starting run worker instance #2\n',
    '2024-04-11T15:43:40.427Z workers Starting run worker instance #3\n',
    '2024-04-11T15:43:40.427Z workers Starting run worker instance #4\n',
    '2024-04-11T15:43:40.427Z workers Starting run worker instance #5\n',
    '2024-04-11T15:43:40.427Z workers Starting run worker instance #6\n',
    '2024-04-11T15:43:40.427Z workers Starting run worker instance #7\n',
    '2024-04-11T15:43:40.427Z workers Starting run worker instance #8\n',
    '2024-04-11T15:43:40.427Z workers Starting run worker instance #9\n',
    '2024-04-11T15:43:40.427Z workers Starting run worker instance #10\n',
    '2024-04-11T15:43:40.427Z workers Starting run worker instance #11\n',
    '2024-04-11T15:43:40.427Z workers Starting run worker instance #12\n',
    '2024-04-11T15:43:40.427Z workers Starting run worker instance #13\n',
    '2024-04-11T15:43:40.428Z workers Web server is listening at 55812\n',
    '2024-04-11T15:43:40.428Z project File cache requires some updates, waiting required files from IDE\n',
    '2024-04-11T15:43:40.640Z project Stopping process pool\n',
    '2024-04-11T15:43:40.653Z project Test run started; run priority: 3\n',
    '2024-04-11T15:43:40.655Z project Running all tests\n',
    '2024-04-11T15:43:40.657Z workers Starting test run, priority: 3\n',
    '2024-04-11T15:43:40.657Z workers Distributing tests between 14 workers\n',
    '2024-04-11T15:43:40.662Z workers Running tests in parallel\n',
    '2024-04-11T15:43:40.664Z nodeRunner Starting sandbox [worker #0, session #4kaye]\n',
    '2024-04-11T15:43:40.664Z nodeRunner Starting sandbox [worker #1, session #bddt6]\n',
    '2024-04-11T15:43:40.664Z nodeRunner Preparing sandbox [worker #0, session #4kaye]\n',
    '2024-04-11T15:43:40.664Z nodeRunner Preparing sandbox [worker #1, session #bddt6]\n',
    '2024-04-11T15:43:40.689Z workers Started run worker instance (delayed) #1\n',
    '2024-04-11T15:43:40.690Z nodeRunner Prepared sandbox [worker #1, session #bddt6]\n',
    '2024-04-11T15:43:40.690Z workers [worker #1, session #bddt6] Running tests in sandbox\n',
    '2024-04-11T15:43:40.691Z workers Started run worker instance (delayed) #0\n',
    '2024-04-11T15:43:40.691Z nodeRunner Prepared sandbox [worker #0, session #4kaye]\n',
    '2024-04-11T15:43:40.692Z workers [worker #0, session #4kaye] Running tests in sandbox\n',
    '2024-04-11T15:43:40.703Z workers Started run worker instance (delayed) #2\n',
    '2024-04-11T15:43:40.709Z workers Started run worker instance (delayed) #3\n',
    '2024-04-11T15:43:40.713Z workers Started run worker instance (delayed) #4\n',
    '2024-04-11T15:43:40.724Z workers Started run worker instance (delayed) #5\n',
    '2024-04-11T15:43:40.735Z workers Started run worker instance (delayed) #6\n',
    '2024-04-11T15:43:40.755Z workers Started run worker instance (delayed) #8\n',
    '2024-04-11T15:43:40.758Z workers Started run worker instance (delayed) #10\n',
    '2024-04-11T15:43:40.762Z workers Started run worker instance (delayed) #7\n',
    '2024-04-11T15:43:40.766Z workers Started run worker instance (delayed) #9\n',
    '2024-04-11T15:43:40.767Z workers Started run worker instance (delayed) #12\n',
    '2024-04-11T15:43:40.783Z workers Started run worker instance (delayed) #13\n',
    '2024-04-11T15:43:40.791Z workers Started run worker instance (delayed) #11\n',
    "2024-04-11T15:43:41.515Z workers 'Scheduling Jest Test Run (4kaye): 2024-04-11T15:43:41.514Z'\n",
    "2024-04-11T15:43:41.515Z workers 'Scheduling Jest Test Run (bddt6): 2024-04-11T15:43:41.515Z'\n",
    '2024-04-11T15:43:46.148Z workers Sandbox (active) [bddt6] error: SyntaxError: .\\src\\lib\\file-name.ts: Unexpected token, expected "," (2:10)\n' +
      '\n' +
      '  1 | export const getNameAndExt = (\n' +
      '> 2 |   fileName: string,\n' +
      '    |           ^\n' +
      '  3 | ): { name: string; ext: string } => {\n' +
      "  4 |   const dotPos = fileName.lastIndexOf('.');\n" +
      '  5 |   const name =\n' +
      '    at instantiate (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parse-error\\credentials.ts:62:21)\n' +
      '    at toParseError (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parse-error.ts:60:12)\n' +
      '    at JSXParserMixin.raise (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\tokenizer\\index.ts:1487:19)\n' +
      '    at JSXParserMixin.unexpected (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\tokenizer\\index.ts:1528:16)\n' +
      '    at JSXParserMixin.expect (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\util.ts:145:28)\n' +
      '    at JSXParserMixin.parseParenAndDistinguishExpression (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:1760:14)\n' +
      '    at JSXParserMixin.parseExprAtom (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:1171:21)\n' +
      '    at JSXParserMixin.parseExprAtom (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\plugins\\jsx\\index.ts:574:22)\n' +
      '    at JSXParserMixin.parseExprSubscripts (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:718:23)\n' +
      '    at JSXParserMixin.parseUpdate (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:695:21)\n' +
      '    at JSXParserMixin.parseMaybeUnary (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:657:23)\n' +
      '    at JSXParserMixin.parseMaybeUnaryOrPrivate (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:395:14)\n' +
      '    at JSXParserMixin.parseExprOps (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:407:23)\n' +
      '    at JSXParserMixin.parseMaybeConditional (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:362:23)\n' +
      '    at JSXParserMixin.parseMaybeAssign (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:302:21)\n' +
      '    at callback (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:256:12)\n' +
      '    at JSXParserMixin.allowInAnd (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:3080:16)\n' +
      '    at JSXParserMixin.parseMaybeAssignAllowIn (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:255:17)\n' +
      '    at JSXParserMixin.parseVar (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:1553:16)\n' +
      '    at JSXParserMixin.parseVarStatement (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:1214:10)\n' +
      '    at JSXParserMixin.parseStatementContent (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:567:21)\n' +
      '    at JSXParserMixin.parseStatementLike (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:430:17)\n' +
      '    at JSXParserMixin.parseStatementListItem (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:379:17)\n' +
      '    at JSXParserMixin.parseExportDeclaration (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:2591:17)\n' +
      '    at JSXParserMixin.maybeParseExportDeclaration (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:2513:31)\n' +
      '    at JSXParserMixin.parseExport (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:2406:29)\n' +
      '    at JSXParserMixin.parseStatementContent (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:610:25)\n' +
      '    at JSXParserMixin.parseStatementLike (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:430:17)\n' +
      '    at JSXParserMixin.parseModuleItem (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:367:17)\n' +
      '    at JSXParserMixin.parseBlockOrModuleBlockBody (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:1407:16)\n' +
      '    at JSXParserMixin.parseBlockBody (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:1381:10)\n' +
      '    at JSXParserMixin.parseProgram (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:226:10)\n' +
      '    at JSXParserMixin.parseTopLevel (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:208:25)\n' +
      '    at JSXParserMixin.parse (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\index.ts:45:10)\n' +
      '    at parse (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\index.ts:67:38)\n' +
      '    at parser (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\src\\parser\\index.ts:28:19)\n' +
      '    at parser.next (<anonymous>)\n' +
      '    at normalizeFile (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\src\\transformation\\normalize-file.ts:51:24)\n' +
      '    at normalizeFile.next (<anonymous>)\n' +
      '    at run (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\src\\transformation\\index.ts:38:36)\n' +
      '    at run.next (<anonymous>)\n' +
      '    at transform (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\src\\transform.ts:29:20)\n' +
      '    at transform.next (<anonymous>)\n' +
      '    at evaluateSync (C:\\Projects\\wkc-web\\node_modules\\gensync\\index.js:251:28)\n' +
      '    at sync (C:\\Projects\\wkc-web\\node_modules\\gensync\\index.js:89:14)\n' +
      '    at transformSync (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\src\\transform.ts:66:52)\n' +
      '    at Object.process (C:\\Projects\\wkc-web\\node_modules\\babel-jest\\build\\index.js:273:57)\n' +
      '    at ScriptTransformer.transformSource (C:\\Projects\\wkc-web\\node_modules\\@jest\\transform\\build\\ScriptTransformer.js:542:31)\n' +
      '    at ScriptTransformer._transformAndBuildScript (C:\\Projects\\wkc-web\\node_modules\\@jest\\transform\\build\\ScriptTransformer.js:671:40)\n' +
      '    at ScriptTransformer.transform (C:\\Projects\\wkc-web\\node_modules\\@jest\\transform\\build\\ScriptTransformer.js:723:19)\n' +
      '    at Runtime.transformFile (C:\\Projects\\wkc-web\\node_modules\\jest-runtime\\build\\index.js:1456:53)\n' +
      '    at Runtime._execModule (C:\\Projects\\wkc-web\\node_modules\\jest-runtime\\build\\index.js:1388:34)\n' +
      '    at Runtime._loadModule (C:\\Projects\\wkc-web\\node_modules\\jest-runtime\\build\\index.js:1013:12)\n' +
      '    at Runtime.requireModule (C:\\Projects\\wkc-web\\node_modules\\jest-runtime\\build\\index.js:873:12)\n' +
      '    at Runtime.requireModuleOrMock (C:\\Projects\\wkc-web\\node_modules\\jest-runtime\\build\\index.js:1039:21)\n' +
      '    at Object.<anonymous> (.\\src\\lib\\file-name.spec.ts:3:37)\n' +
      '    at Runtime._execModule (C:\\Projects\\wkc-web\\node_modules\\jest-runtime\\build\\index.js:1430:24)\n' +
      '    at Runtime._loadModule (C:\\Projects\\wkc-web\\node_modules\\jest-runtime\\build\\index.js:1013:12)\n' +
      '    at Runtime.requireModule (C:\\Projects\\wkc-web\\node_modules\\jest-runtime\\build\\index.js:873:12)\n' +
      '    at jestAdapter (C:\\Projects\\wkc-web\\node_modules\\jest-circus\\build\\legacy-code-todo-rewrite\\jestAdapter.js:77:13)\n' +
      '    at async runTestInternal (C:\\Projects\\wkc-web\\node_modules\\jest-runner\\build\\runTest.js:367:16)\n' +
      '    at async runTest (C:\\Projects\\wkc-web\\node_modules\\jest-runner\\build\\runTest.js:444:34)\n',
    '2024-04-11T15:43:46.149Z workers [bddt6] Run 0 test(s), skipped 0 test(s)\n',
    "2024-04-11T15:43:46.151Z workers 'Jest Test Run Complete (bddt6): 2024-04-11T15:43:46.151Z'\n",
    '2024-04-11T15:43:46.152Z workers [bddt6] Sandbox is responsive, closing it\n',
    '2024-04-11T15:43:46.182Z workers Sandbox (active) [4kaye] error: Jest encountered an unexpected token\n' +
      '\n' +
      'Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.\n' +
      '\n' +
      'Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.\n' +
      '\n' +
      'By default "node_modules" folder is ignored by transformers.\n' +
      '\n' +
      "Here's what you can do:\n" +
      ' • If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.\n' +
      ' • If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript\n' +
      ' • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.\n' +
      ' • If you need a custom transformation specify a "transform" option in your config.\n' +
      ' • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.\n' +
      '\n' +
      "You'll find more details and examples of these config options in the docs:\n" +
      'https://jestjs.io/docs/configuration\n' +
      'For information about custom transformations, see:\n' +
      'https://jestjs.io/docs/code-transformation\n' +
      '\n' +
      'Details:\n' +
      '\n' +
      "SyntaxError: .\\src\\lib\\file-content.ts: Support for the experimental syntax 'flow' isn't currently enabled (3:8):\n" +
      '\n' +
      "  1 | import { Md5 } from 'ts-md5';\n" +
      '  2 |\n' +
      '> 3 | export interface FileChunk {\n' +
      '    |        ^\n' +
      '  4 |   blob: Blob;\n' +
      '  5 |   partName: string;\n' +
      '  6 | }\n' +
      '\n' +
      "Add @babel/preset-flow (https://github.com/babel/babel/tree/main/packages/babel-preset-flow) to the 'presets' section of your Babel config to enable transformation.\n" +
      "If you want to leave it as-is, add @babel/plugin-syntax-flow (https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-flow) to the 'plugins' section to enable parsing.\n" +
      '    at instantiate (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parse-error\\credentials.ts:62:21)\n' +
      '    at toParseError (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parse-error.ts:60:12)\n' +
      '    at JSXParserMixin.raise (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\tokenizer\\index.ts:1487:19)\n' +
      '    at JSXParserMixin.expectOnePlugin (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\tokenizer\\index.ts:1547:18)\n' +
      '    at JSXParserMixin.isExportDefaultSpecifier (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:2613:16)\n' +
      '    at JSXParserMixin.maybeParseExportDefaultSpecifier (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:2455:40)\n' +
      '    at JSXParserMixin.parseExport (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:2351:29)\n' +
      '    at JSXParserMixin.parseStatementContent (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:610:25)\n' +
      '    at JSXParserMixin.parseStatementLike (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:430:17)\n' +
      '    at JSXParserMixin.parseModuleItem (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:367:17)\n' +
      '    at JSXParserMixin.parseBlockOrModuleBlockBody (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:1407:16)\n' +
      '    at JSXParserMixin.parseBlockBody (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:1381:10)\n' +
      '    at JSXParserMixin.parseProgram (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:226:10)\n' +
      '    at JSXParserMixin.parseTopLevel (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:208:25)\n' +
      '    at JSXParserMixin.parse (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\parser\\index.ts:45:10)\n' +
      '    at parse (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\node_modules\\@babel\\parser\\src\\index.ts:67:38)\n' +
      '    at parser (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\src\\parser\\index.ts:28:19)\n' +
      '    at parser.next (<anonymous>)\n' +
      '    at normalizeFile (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\src\\transformation\\normalize-file.ts:51:24)\n' +
      '    at normalizeFile.next (<anonymous>)\n' +
      '    at run (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\src\\transformation\\index.ts:38:36)\n' +
      '    at run.next (<anonymous>)\n' +
      '    at transform (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\src\\transform.ts:29:20)\n' +
      '    at transform.next (<anonymous>)\n' +
      '    at evaluateSync (C:\\Projects\\wkc-web\\node_modules\\gensync\\index.js:251:28)\n' +
      '    at sync (C:\\Projects\\wkc-web\\node_modules\\gensync\\index.js:89:14)\n' +
      '    at transformSync (C:\\Projects\\wkc-web\\node_modules\\@babel\\core\\src\\transform.ts:66:52)\n' +
      '    at Object.process (C:\\Projects\\wkc-web\\node_modules\\babel-jest\\build\\index.js:273:57)\n' +
      '    at ScriptTransformer.transformSource (C:\\Projects\\wkc-web\\node_modules\\@jest\\transform\\build\\ScriptTransformer.js:542:31)\n' +
      '    at ScriptTransformer._transformAndBuildScript (C:\\Projects\\wkc-web\\node_modules\\@jest\\transform\\build\\ScriptTransformer.js:671:40)\n' +
      '    at ScriptTransformer.transform (C:\\Projects\\wkc-web\\node_modules\\@jest\\transform\\build\\ScriptTransformer.js:723:19)\n' +
      '    at Runtime.transformFile (C:\\Projects\\wkc-web\\node_modules\\jest-runtime\\build\\index.js:1456:53)\n' +
      '    at Runtime._execModule (C:\\Projects\\wkc-web\\node_modules\\jest-runtime\\build\\index.js:1388:34)\n' +
      '    at Runtime._loadModule (C:\\Projects\\wkc-web\\node_modules\\jest-runtime\\build\\index.js:1013:12)\n' +
      '    at Runtime.requireModule (C:\\Projects\\wkc-web\\node_modules\\jest-runtime\\build\\index.js:873:12)\n' +
      '    at Runtime.requireModuleOrMock (C:\\Projects\\wkc-web\\node_modules\\jest-runtime\\build\\index.js:1039:21)\n' +
      '    at Object.<anonymous> (.\\src\\lib\\file-content.spec.ts:14:41)\n' +
      '    at Runtime._execModule (C:\\Projects\\wkc-web\\node_modules\\jest-runtime\\build\\index.js:1430:24)\n' +
      '    at Runtime._loadModule (C:\\Projects\\wkc-web\\node_modules\\jest-runtime\\build\\index.js:1013:12)\n' +
      '    at Runtime.requireModule (C:\\Projects\\wkc-web\\node_modules\\jest-runtime\\build\\index.js:873:12)\n' +
      '    at jestAdapter (C:\\Projects\\wkc-web\\node_modules\\jest-circus\\build\\legacy-code-todo-rewrite\\jestAdapter.js:77:13)\n' +
      '    at async runTestInternal (C:\\Projects\\wkc-web\\node_modules\\jest-runner\\build\\runTest.js:367:16)\n' +
      '    at async runTest (C:\\Projects\\wkc-web\\node_modules\\jest-runner\\build\\runTest.js:444:34)\n',
    '2024-04-11T15:43:46.182Z workers [4kaye] Run 0 test(s), skipped 0 test(s)\n',
    "2024-04-11T15:43:46.186Z workers 'Jest Test Run Complete (4kaye): 2024-04-11T15:43:46.186Z'\n",
    '2024-04-11T15:43:46.187Z workers [4kaye] Sandbox is responsive, closing it\n',
    '2024-04-11T15:43:46.188Z workers Merging parallel test run results\n',
    '2024-04-11T15:43:46.188Z project Test run finished\n',
    '2024-04-11T15:43:46.189Z project Processed console.log entries\n',
    '2024-04-11T15:43:46.189Z project Processed loading sequences\n',
    '2024-04-11T15:43:46.189Z project Processed executed tests\n',
    '2024-04-11T15:43:46.189Z project Processed code coverage\n',
    '2024-04-11T15:43:46.195Z project Test run result processed and sent to IDE\n'
  ]
}
@gabrielgagne
Copy link
Author

gabrielgagne commented Apr 11, 2024

Managed to make a minimal repo. Simply using npx create-nx-workspace@latest, choosing integrated+angular+scss+webpack
Then start wallaby on apps/org
Results in
image

wallaby_nx_auto_bug.zip

{
  editorVersion: '1.88.0',
  pluginVersion: '1.0.374',
  editorType: 'VSCode',
  osVersion: 'win32 10.0.19045',
  nodeVersion: 'v20.10.0',
  coreVersion: '1.0.1555',
  checksum: 'ZGZjOGE5MGY2Y2Y4NGYzMGFhOTIyYjQ1MTVhOWQ0N2IsMTczMDkzNzYwMDAwMCww',
  config: {
    diagnostics: {
      angular: {
        workspace: {
          projects: {},
          version: 2,
          '$schema': './node_modules/nx/schemas/nx-schema.json',
          namedInputs: {
            default: [ '{projectRoot}/**/*', 'sharedGlobals' ],
            production: [
              'default',
              '!{projectRoot}/.eslintrc.json',
              '!{projectRoot}/eslint.config.js',
              '!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)',
              '!{projectRoot}/tsconfig.spec.json',
              '!{projectRoot}/jest.config.[jt]s',
              '!{projectRoot}/src/test-setup.[jt]s',
              '!{projectRoot}/test-setup.[jt]s',
              '!{projectRoot}/cypress/**/*',
              '!{projectRoot}/**/*.cy.[jt]s?(x)',
              '!{projectRoot}/cypress.config.[jt]s'
            ],
            sharedGlobals: []
          },
          targetDefaults: {
            '@angular-devkit/build-angular:browser': { cache: true, dependsOn: [ '^build' ], inputs: [ 'production', '^production' ] },
            '@nx/eslint:lint': { cache: true, inputs: [ 'default', '{workspaceRoot}/.eslintrc.json', '{workspaceRoot}/.eslintignore', '{workspaceRoot}/eslint.config.js' ] },
            '@nx/jest:jest': {
              cache: true,
              inputs: [ 'default', '^production', '{workspaceRoot}/jest.preset.js' ],
              options: { passWithNoTests: true },
              configurations: { ci: { ci: true, codeCoverage: true } }
            }
          },
          plugins: [
            { plugin: '@nx/cypress/plugin', options: { targetName: 'e2e', componentTestingTargetName: 'component-test', ciTargetName: 'e2e-ci', openTargetName: 'open-cypress' } },
            { plugin: '@nx/eslint/plugin', options: { targetName: 'lint' } }
          ],
          generators: { '@nx/angular:application': { e2eTestRunner: 'cypress', linter: 'eslint', style: 'scss', unitTestRunner: 'jest' } },
          configFileName: 'C:\\Projects\\test\\org\\nx.json',
          nxWorkspace: true
        }
      },
      jest: {
        config: {
          configs: [
            {
              automock: false,
              cache: true,
              cacheDirectory: 'C:\\Users\\g_abr\\AppData\\Local\\Temp\\jest',
              clearMocks: false,
              collectCoverageFrom: [],
              coverageDirectory: 'C:\\Projects\\test\\org\\apps\\org\\coverage',
              coveragePathIgnorePatterns: [ '\\\\node_modules\\\\' ],
              cwd: 'C:\\Projects\\test\\org\\apps\\org',
              dependencyExtractor: undefined,
              detectLeaks: false,
              detectOpenHandles: false,
              displayName: undefined,
              errorOnDeprecated: false,
              extensionsToTreatAsEsm: [],
              fakeTimers: { enableGlobally: false },
              filter: undefined,
              forceCoverageMatch: [],
              globalSetup: undefined,
              globalTeardown: undefined,
              globals: {},
              haste: { computeSha1: false, enableSymlinks: false, forceNodeFilesystemAPI: true, throwOnModuleCollision: false },
              id: '5d4035eddb79944d59f7ef6f75575969',
              injectGlobals: true,
              moduleDirectories: [ 'node_modules' ],
              moduleFileExtensions: [
                'js',   'mjs',
                'cjs',  'jsx',
                'ts',   'tsx',
                'json', 'node'
              ],
              moduleNameMapper: [],
              modulePathIgnorePatterns: [],
              modulePaths: undefined,
              openHandlesTimeout: 1000,
              prettierPath: 'prettier',
              resetMocks: false,
              resetModules: false,
              resolver: undefined,
              restoreMocks: false,
              rootDir: 'C:\\Projects\\test\\org\\apps\\org',
              roots: [ 'C:\\Projects\\test\\org\\apps\\org' ],
              runner: 'C:\\Projects\\test\\org\\node_modules\\jest-runner\\build\\index.js',
              runtime: undefined,
              sandboxInjectedGlobals: [],
              setupFiles: [],
              setupFilesAfterEnv: [],
              skipFilter: false,
              skipNodeResolution: undefined,
              slowTestThreshold: 5,
              snapshotFormat: { escapeString: false, printBasicPrototype: false },
              snapshotResolver: undefined,
              snapshotSerializers: [],
              testEnvironment: 'C:\\Projects\\test\\org\\node_modules\\jest-environment-node\\build\\index.js',
              testEnvironmentOptions: {},
              testLocationInResults: false,
              testMatch: [ '**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[tj]s?(x)' ],
              testPathIgnorePatterns: [ '\\\\node_modules\\\\' ],
              testRegex: [],
              testRunner: 'C:\\Projects\\test\\org\\node_modules\\jest-circus\\runner.js',
              transform: [ [ '\\.[jt]sx?$', 'C:\\Projects\\test\\org\\node_modules\\babel-jest\\build\\index.js', {} ] ],
              transformIgnorePatterns: [ '\\\\node_modules\\\\', '\\.pnp\\.[^\\\\]+$' ],
              unmockedModulePathPatterns: undefined,
              watchPathIgnorePatterns: []
            }
          ],
          globalConfig: {
            bail: 0,
            changedFilesWithAncestor: false,
            changedSince: undefined,
            ci: false,
            collectCoverage: false,
            collectCoverageFrom: [],
            coverageDirectory: 'C:\\Projects\\test\\org\\apps\\org\\coverage',
            coverageProvider: 'babel',
            coverageReporters: [ 'json', 'text', 'lcov', 'clover' ],
            coverageThreshold: undefined,
            detectLeaks: false,
            detectOpenHandles: false,
            errorOnDeprecated: false,
            expand: false,
            filter: undefined,
            findRelatedTests: false,
            forceExit: false,
            globalSetup: undefined,
            globalTeardown: undefined,
            json: false,
            lastCommit: false,
            listTests: false,
            logHeapUsage: false,
            maxConcurrency: 5,
            maxWorkers: 15,
            noSCM: undefined,
            noStackTrace: false,
            nonFlagArgs: undefined,
            notify: false,
            notifyMode: 'failure-change',
            onlyChanged: false,
            onlyFailures: false,
            openHandlesTimeout: 1000,
            outputFile: undefined,
            passWithNoTests: false,
            projects: [],
            randomize: undefined,
            replname: undefined,
            reporters: undefined,
            rootDir: 'C:\\Projects\\test\\org\\apps\\org',
            runInBand: undefined,
            runTestsByPath: false,
            seed: -1434880560,
            shard: undefined,
            showSeed: undefined,
            silent: undefined,
            skipFilter: false,
            snapshotFormat: { escapeString: false, printBasicPrototype: false },
            testFailureExitCode: 1,
            testNamePattern: undefined,
            testPathPattern: '',
            testResultsProcessor: undefined,
            testSequencer: 'C:\\Projects\\test\\org\\node_modules\\@jest\\test-sequencer\\build\\index.js',
            testTimeout: undefined,
            updateSnapshot: 'new',
            useStderr: false,
            verbose: undefined,
            watch: false,
            watchAll: false,
            watchPlugins: undefined,
            watchman: true,
            workerIdleMemoryLimit: undefined,
            workerThreads: false
          },
          hasDeprecationWarnings: false,
          wallaby: {
            roots: [],
            watchPathIgnorePatterns: [ '\\\\node_modules\\\\', '\\.\\\\dist\\\\|\\.\\\\build\\\\|\\.\\\\coverage\\\\|\\.\\\\git\\\\|\\\\\\..+\\\\', 'C:\\Users\\g_abr\\AppData\\Local\\Temp\\jest', '\\.\\coverage' ],
            testPathIgnorePatterns: [ '\\\\node_modules\\\\', '\\.\\\\dist\\\\|\\.\\\\build\\\\|\\.\\\\coverage\\\\|\\.\\\\git\\\\|\\\\\\..+\\\\', 'C:\\Users\\g_abr\\AppData\\Local\\Temp\\jest', '\\.\\coverage' ],
            testMatch: [ '**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[tj]s?(x)' ],
            testRegex: []
          }
        }
      }
    },
    testFramework: { version: '[email protected]', configurator: '[email protected]', reporter: '[email protected]', starter: '[email protected]', autoDetected: true },
    filesWithCoverageCalculated: [],
    filesWithNoCoverageCalculated: [],
    globalSetup: false,
    dot: true,
    files: [
      { pattern: '\\\\node_modules\\\\', regexp: /\\node_modules\\/, ignore: true, trigger: true, load: true, file: true, test: true },
      {
        pattern: '\\.\\\\dist\\\\|\\.\\\\build\\\\|\\.\\\\coverage\\\\|\\.\\\\git\\\\|\\\\\\..+\\\\',
        regexp: /\.\\dist\\|\.\\build\\|\.\\coverage\\|\.\\git\\|\\\..+\\/,
        ignore: true,
        trigger: true,
        load: true,
        file: true,
        test: true
      },
      { pattern: 'C:\\Users\\g_abr\\AppData\\Local\\Temp\\jest', regexp: /<homeDir>\AppData\Local\Temp\jest/, ignore: true, trigger: true, load: true, file: true, test: true },
      { pattern: '\\.\\coverage', regexp: /\.\coverage/, ignore: true, trigger: true, load: true, file: true, test: true },
      { pattern: '**/**', ignore: false, trigger: true, load: true, order: 1 },
      { pattern: '**/__tests__/**/*.[jt]s?(x)', ignore: true, trigger: true, load: true, file: true },
      { pattern: '**/?(*.)+(spec|test).[tj]s?(x)', ignore: true, trigger: true, load: true, file: true }
    ],
    captureConsoleLog: true,
    tests: [
      { pattern: '\\\\node_modules\\\\', regexp: /\\node_modules\\/, ignore: true, trigger: true, load: true, test: true, file: false },
      {
        pattern: '\\.\\\\dist\\\\|\\.\\\\build\\\\|\\.\\\\coverage\\\\|\\.\\\\git\\\\|\\\\\\..+\\\\',
        regexp: /\.\\dist\\|\.\\build\\|\.\\coverage\\|\.\\git\\|\\\..+\\/,
        ignore: true,
        trigger: true,
        load: true,
        test: true,
        file: false
      },
      { pattern: 'C:\\Users\\g_abr\\AppData\\Local\\Temp\\jest', regexp: /<homeDir>\AppData\Local\Temp\jest/, ignore: true, trigger: true, load: true, test: true, file: false },
      { pattern: '\\.\\coverage', regexp: /\.\coverage/, ignore: true, trigger: true, load: true, test: true, file: false },
      { pattern: '**/__tests__/**/*.[jt]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 2 },
      { pattern: '**/?(*.)+(spec|test).[tj]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 3 }
    ],
    runAllTestsInAffectedTestFile: false,
    updateNoMoreThanOneSnapshotPerTestFileRun: false,
    compilers: {},
    logLimits: { inline: { depth: 5, elements: 5000 }, values: { default: { stringLength: 8192 }, autoExpand: { elements: 5000, stringLength: 8192, depth: 10 } } },
    preprocessors: {},
    maxConsoleMessagesPerTest: 100,
    autoConsoleLog: true,
    delays: { run: 0, edit: 100, update: 0 },
    workers: { initial: 0, regular: 0, recycle: false },
    teardown: undefined,
    hints: {
      ignoreCoverage: '__REGEXP /ignore coverage|istanbul ignore|c8 ignore/',
      ignoreCoverageForFile: '__REGEXP /ignore file coverage/',
      commentAutoLog: '?',
      testFileSelection: { include: '__REGEXP /file\\.only/', exclude: '__REGEXP /file\\.skip/' }
    },
    automaticTestFileSelection: true,
    runSelectedTestsOnly: false,
    mapConsoleMessagesStackTrace: false,
    extensions: {},
    env: { type: 'node', params: {}, runner: 'C:\\Program Files\\nodejs\\node.exe', viewportSize: { width: 800, height: 600 }, options: { width: 800, height: 600 }, bundle: true },
    reportUnhandledPromises: true,
    slowTestThreshold: 75,
    lowCoverageThreshold: 80,
    runAllTestsWhenNoAffectedTests: false,
    configCode: 'auto.detect#-3536526'
  },
  fs: { numberOfFiles: 20 },
  debug: [
    '2024-04-11T15:58:41.254Z project waiting for initial run signal\n',
    '2024-04-11T15:58:41.264Z config Attempting automatic configuration for angular\n',
    '2024-04-11T15:58:41.406Z angular/cli config Detected Angular CLI.\n',
    "2024-04-11T15:58:41.406Z angular/cli config Error: 'C:\\Projects\\test\\org\\nx.json' is not a valid Angular CLI file.\n" +
      '    at t.configure (c:\\Users\\g_abr\\.vscode\\extensions\\wallabyjs.wallaby-vscode-1.0.374\\wallaby78fa55\\server.js:156:16036)\n' +
      '    at async automaticConfigurationProviders.reduce.Promise.resolve.success (c:\\Users\\g_abr\\.vscode\\extensions\\wallabyjs.wallaby-vscode-1.0.374\\wallaby78fa55\\server.js:144:12595)\n' +
      '    at async automaticConfigurationProviders.reduce.Promise.resolve.success (c:\\Users\\g_abr\\.vscode\\extensions\\wallabyjs.wallaby-vscode-1.0.374\\wallaby78fa55\\server.js:144:12480)\n' +
      '    at async automaticConfigurationProviders.reduce.Promise.resolve.success (c:\\Users\\g_abr\\.vscode\\extensions\\wallabyjs.wallaby-vscode-1.0.374\\wallaby78fa55\\server.js:144:12480)\n' +
      '    at async Config.load (c:\\Users\\g_abr\\.vscode\\extensions\\wallabyjs.wallaby-vscode-1.0.374\\wallaby78fa55\\server.js:144:12420)\n',
    '2024-04-11T15:58:41.408Z angular/cli config Angular.json: \n' +
      ' {\n' +
      '  projects: {},\n' +
      '  version: 2,\n' +
      "  '$schema': './node_modules/nx/schemas/nx-schema.json',\n" +
      '  namedInputs: {\n' +
      "    default: [ '{projectRoot}/**/*', 'sharedGlobals' ],\n" +
      '    production: [\n' +
      "      'default',\n" +
      "      '!{projectRoot}/.eslintrc.json',\n" +
      "      '!{projectRoot}/eslint.config.js',\n" +
      "      '!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)',\n" +
      "      '!{projectRoot}/tsconfig.spec.json',\n" +
      "      '!{projectRoot}/jest.config.[jt]s',\n" +
      "      '!{projectRoot}/src/test-setup.[jt]s',\n" +
      "      '!{projectRoot}/test-setup.[jt]s',\n" +
      "      '!{projectRoot}/cypress/**/*',\n" +
      "      '!{projectRoot}/**/*.cy.[jt]s?(x)',\n" +
      "      '!{projectRoot}/cypress.config.[jt]s'\n" +
      '    ],\n' +
      '    sharedGlobals: []\n' +
      '  },\n' +
      '  targetDefaults: {\n' +
      "    '@angular-devkit/build-angular:browser': { cache: true, dependsOn: [ '^build' ], inputs: [ 'production', '^production' ] },\n" +
      "    '@nx/eslint:lint': { cache: true, inputs: [ 'default', '{workspaceRoot}/.eslintrc.json', '{workspaceRoot}/.eslintignore', '{workspaceRoot}/eslint.config.js' ] },\n" +
      "    '@nx/jest:jest': { cache: true, inputs: [ 'default', '^production', '{workspaceRoot}/jest.preset.js' ], options: { passWithNoTests: true }, configurations: { ci: { ci: true, codeCoverage: true } } }\n" +
      '  },\n' +
      '  plugins: [\n' +
      "    { plugin: '@nx/cypress/plugin', options: { targetName: 'e2e', componentTestingTargetName: 'component-test', ciTargetName: 'e2e-ci', openTargetName: 'open-cypress' } },\n" +
      "    { plugin: '@nx/eslint/plugin', options: { targetName: 'lint' } }\n" +
      '  ],\n' +
      "  generators: { '@nx/angular:application': { e2eTestRunner: 'cypress', linter: 'eslint', style: 'scss', unitTestRunner: 'jest' } },\n" +
      "  configFileName: 'C:\\\\Projects\\\\test\\\\org\\\\nx.json',\n" +
      '  nxWorkspace: true\n' +
      '}\n',
    "2024-04-11T15:58:41.408Z angular/cli config Error: 'C:\\Projects\\test\\org\\nx.json' is not a valid Angular CLI file.\n" +
      '    at t.configure (c:\\Users\\g_abr\\.vscode\\extensions\\wallabyjs.wallaby-vscode-1.0.374\\wallaby78fa55\\server.js:156:16036)\n' +
      '    at async automaticConfigurationProviders.reduce.Promise.resolve.success (c:\\Users\\g_abr\\.vscode\\extensions\\wallabyjs.wallaby-vscode-1.0.374\\wallaby78fa55\\server.js:144:12595)\n' +
      '    at async automaticConfigurationProviders.reduce.Promise.resolve.success (c:\\Users\\g_abr\\.vscode\\extensions\\wallabyjs.wallaby-vscode-1.0.374\\wallaby78fa55\\server.js:144:12480)\n' +
      '    at async automaticConfigurationProviders.reduce.Promise.resolve.success (c:\\Users\\g_abr\\.vscode\\extensions\\wallabyjs.wallaby-vscode-1.0.374\\wallaby78fa55\\server.js:144:12480)\n' +
      '    at async Config.load (c:\\Users\\g_abr\\.vscode\\extensions\\wallabyjs.wallaby-vscode-1.0.374\\wallaby78fa55\\server.js:144:12420)\n',
    '2024-04-11T15:58:41.408Z config Finished attempting automatic configuration for angular (144ms)\n',
    '2024-04-11T15:58:41.408Z config Attempting automatic configuration for jest\n',
    '2024-04-11T15:58:41.946Z jest/config Detected Jest.\n',
    '2024-04-11T15:58:41.947Z jest/config Configured Jest.\n',
    '2024-04-11T15:58:41.947Z config Finished attempting automatic configuration for jest (539ms)\n',
    '2024-04-11T15:58:41.950Z project Wallaby Node version: v20.10.0\n',
    '2024-04-11T15:58:41.950Z project Wallaby config: C:\\Projects\\test\\org\\apps\\org\\auto.detect\n',
    '2024-04-11T15:58:41.990Z fs File system starting\n',
    '2024-04-11T15:58:42.036Z fs File system scan completed\n',
    '2024-04-11T15:58:42.040Z project File cache: C:\\Users\\g_abr\\.vscode\\extensions\\wallabyjs.wallaby-vscode-1.0.374\\projects\\a749129f5bb4b395\n',
    '2024-04-11T15:58:42.225Z uiService Listening port 51235\n',
    '2024-04-11T15:58:42.242Z workers Parallelism for initial run: 14, for regular run: 7\n',
    '2024-04-11T15:58:42.242Z workers Starting run worker instance #0\n',
    '2024-04-11T15:58:42.242Z workers Starting run worker instance #1\n',
    '2024-04-11T15:58:42.242Z workers Starting run worker instance #2\n',
    '2024-04-11T15:58:42.242Z workers Starting run worker instance #3\n',
    '2024-04-11T15:58:42.242Z workers Starting run worker instance #4\n',
    '2024-04-11T15:58:42.242Z workers Starting run worker instance #5\n',
    '2024-04-11T15:58:42.242Z workers Starting run worker instance #6\n',
    '2024-04-11T15:58:42.242Z workers Starting run worker instance #7\n',
    '2024-04-11T15:58:42.242Z workers Starting run worker instance #8\n',
    '2024-04-11T15:58:42.242Z workers Starting run worker instance #9\n',
    '2024-04-11T15:58:42.242Z workers Starting run worker instance #10\n',
    '2024-04-11T15:58:42.242Z workers Starting run worker instance #11\n',
    '2024-04-11T15:58:42.242Z workers Starting run worker instance #12\n',
    '2024-04-11T15:58:42.242Z workers Starting run worker instance #13\n',
    '2024-04-11T15:58:42.243Z workers Web server is listening at 56549\n',
    '2024-04-11T15:58:42.348Z project Stopping process pool\n',
    '2024-04-11T15:58:42.348Z project File cache is up-to-date, starting full test run\n',
    '2024-04-11T15:58:42.355Z project Test run started; run priority: 3\n',
    '2024-04-11T15:58:42.356Z project Running all tests\n',
    '2024-04-11T15:58:42.358Z workers Starting test run, priority: 3\n',
    '2024-04-11T15:58:42.358Z nodeRunner Starting sandbox [worker #0, session #ts9ba]\n',
    '2024-04-11T15:58:42.358Z nodeRunner Preparing sandbox [worker #0, session #ts9ba]\n',
    '2024-04-11T15:58:42.502Z workers Started run worker instance (delayed) #0\n',
    '2024-04-11T15:58:42.502Z nodeRunner Prepared sandbox [worker #0, session #ts9ba]\n',
    '2024-04-11T15:58:42.502Z workers [worker #0, session #ts9ba] Running tests in sandbox\n',
    '2024-04-11T15:58:42.519Z workers Started run worker instance (delayed) #2\n',
    '2024-04-11T15:58:42.546Z workers Started run worker instance (delayed) #1\n',
    '2024-04-11T15:58:42.559Z workers Started run worker instance (delayed) #5\n',
    '2024-04-11T15:58:42.559Z workers Started run worker instance (delayed) #4\n',
    '2024-04-11T15:58:42.567Z workers Started run worker instance (delayed) #8\n',
    '2024-04-11T15:58:42.572Z workers Started run worker instance (delayed) #10\n',
    '2024-04-11T15:58:42.583Z workers Started run worker instance (delayed) #6\n',
    '2024-04-11T15:58:42.584Z workers Started run worker instance (delayed) #3\n',
    '2024-04-11T15:58:42.603Z workers Started run worker instance (delayed) #7\n',
    '2024-04-11T15:58:42.610Z workers Started run worker instance (delayed) #12\n',
    '2024-04-11T15:58:42.614Z workers Started run worker instance (delayed) #9\n',
    '2024-04-11T15:58:42.627Z workers Started run worker instance (delayed) #13\n',
    '2024-04-11T15:58:42.649Z workers Started run worker instance (delayed) #11\n',
    "2024-04-11T15:58:43.237Z workers 'Scheduling Jest Test Run (ts9ba): 2024-04-11T15:58:43.236Z'\n",
    '2024-04-11T15:58:43.928Z workers Sandbox (active) [ts9ba] error: Jest encountered an unexpected token\n' +
      '\n' +
      'Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.\n' +
      '\n' +
      'Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.\n' +
      '\n' +
      'By default "node_modules" folder is ignored by transformers.\n' +
      '\n' +
      "Here's what you can do:\n" +
      ' • If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.\n' +
      ' • If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript\n' +
      ' • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.\n' +
      ' • If you need a custom transformation specify a "transform" option in your config.\n' +
      ' • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.\n' +
      '\n' +
      "You'll find more details and examples of these config options in the docs:\n" +
      'https://jestjs.io/docs/configuration\n' +
      'For information about custom transformations, see:\n' +
      'https://jestjs.io/docs/code-transformation\n' +
      '\n' +
      'Details:\n' +
      '\n' +
      'SyntaxError: .\\src\\app\\app.component.spec.ts: Missing semicolon. (16:42)\n' +
      '\n' +
      '\x1B[0m \x1B[90m 14 |\x1B[39m     \x1B[36mconst\x1B[39m fixture \x1B[33m=\x1B[39m \x1B[33mTestBed\x1B[39m\x1B[33m.\x1B[39mcreateComponent(\x1B[33mAppComponent\x1B[39m)\x1B[33m;\x1B[39m\n' +
      ' \x1B[90m 15 |\x1B[39m     fixture\x1B[33m.\x1B[39mdetectChanges()\x1B[33m;\x1B[39m\n' +
      '\x1B[31m\x1B[1m>\x1B[22m\x1B[39m\x1B[90m 16 |\x1B[39m     \x1B[36mconst\x1B[39m compiled \x1B[33m=\x1B[39m fixture\x1B[33m.\x1B[39mnativeElement \x1B[36mas\x1B[39m \x1B[33mHTMLElement\x1B[39m\x1B[33m;\x1B[39m\n' +
      ' \x1B[90m    |\x1B[39m                                           \x1B[31m\x1B[1m^\x1B[22m\x1B[39m\n' +
      " \x1B[90m 17 |\x1B[39m     expect(compiled\x1B[33m.\x1B[39mquerySelector(\x1B[32m'h1'\x1B[39m)\x1B[33m?\x1B[39m\x1B[33m.\x1B[39mtextContent)\x1B[33m.\x1B[39mtoContain(\x1B[32m'Welcome org'\x1B[39m)\x1B[33m;\x1B[39m\n" +
      ' \x1B[90m 18 |\x1B[39m   })\x1B[33m;\x1B[39m\n' +
      ' \x1B[90m 19 |\x1B[39m\x1B[0m\n' +
      '    at toParseError (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parse-error.ts:74:19)\n' +
      '    at Parser.raise (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\tokenizer\\index.ts:1487:19)\n' +
      '    at Parser.semicolon (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\util.ts:141:10)\n' +
      '    at Parser.parseVarStatement (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:1194:10)\n' +
      '    at Parser.parseStatementContent (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:546:21)\n' +
      '    at Parser.parseStatementLike (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:417:17)\n' +
      '    at Parser.parseStatementListItem (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:366:17)\n' +
      '    at Parser.parseBlockOrModuleBlockBody (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:1386:16)\n' +
      '    at Parser.parseBlockBody (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:1359:10)\n' +
      '    at Parser.parseBlock (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:1327:10)\n' +
      '    at Parser.parseFunctionBody (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:2572:24)\n' +
      '    at Parser.parseArrowExpression (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:2515:10)\n' +
      '    at Parser.parseParenAndDistinguishExpression (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:1818:12)\n' +
      '    at Parser.parseExprAtom (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:1159:21)\n' +
      '    at Parser.parseExprSubscripts (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:703:23)\n' +
      '    at Parser.parseUpdate (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:680:21)\n' +
      '    at Parser.parseMaybeUnary (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:642:23)\n' +
      '    at Parser.parseMaybeUnaryOrPrivate (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:385:14)\n' +
      '    at Parser.parseExprOps (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:397:23)\n' +
      '    at Parser.parseMaybeConditional (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:352:23)\n' +
      '    at Parser.parseMaybeAssign (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:292:21)\n' +
      '    at callback (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:246:12)\n' +
      '    at Parser.allowInAnd (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:3112:12)\n' +
      '    at Parser.parseMaybeAssignAllowIn (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:245:17)\n' +
      '    at Parser.parseExprListItem (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:2735:18)\n' +
      '    at Parser.parseCallExpressionArguments (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:1035:14)\n' +
      '    at Parser.parseCoverCallAndAsyncArrowHead (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:877:29)\n' +
      '    at Parser.parseSubscript (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:766:19)\n' +
      '    at Parser.parseSubscripts (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:724:19)\n' +
      '    at Parser.parseExprSubscripts (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:709:17)\n' +
      '    at Parser.parseUpdate (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:680:21)\n' +
      '    at Parser.parseMaybeUnary (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:642:23)\n' +
      '    at Parser.parseMaybeUnaryOrPrivate (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:385:14)\n' +
      '    at Parser.parseExprOps (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:397:23)\n' +
      '    at Parser.parseMaybeConditional (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:352:23)\n' +
      '    at Parser.parseMaybeAssign (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:292:21)\n' +
      '    at Parser.parseExpressionBase (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:215:23)\n' +
      '    at callback (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:206:39)\n' +
      '    at Parser.allowInAnd (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:3107:16)\n' +
      '    at Parser.parseExpression (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:206:17)\n' +
      '    at Parser.parseStatementContent (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:636:23)\n' +
      '    at Parser.parseStatementLike (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:417:17)\n' +
      '    at Parser.parseStatementListItem (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:366:17)\n' +
      '    at Parser.parseBlockOrModuleBlockBody (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:1386:16)\n' +
      '    at Parser.parseBlockBody (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:1359:10)\n' +
      '    at Parser.parseBlock (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\statement.ts:1327:10)\n' +
      '    at Parser.parseFunctionBody (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:2572:24)\n' +
      '    at Parser.parseArrowExpression (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:2515:10)\n' +
      '    at Parser.parseParenAndDistinguishExpression (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:1818:12)\n' +
      '    at Parser.parseExprAtom (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:1159:21)\n' +
      '    at Parser.parseExprSubscripts (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:703:23)\n' +
      '    at Parser.parseUpdate (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:680:21)\n' +
      '    at Parser.parseMaybeUnary (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:642:23)\n' +
      '    at Parser.parseMaybeUnaryOrPrivate (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:385:14)\n' +
      '    at Parser.parseExprOps (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:397:23)\n' +
      '    at Parser.parseMaybeConditional (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:352:23)\n' +
      '    at Parser.parseMaybeAssign (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:292:21)\n' +
      '    at callback (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:246:12)\n' +
      '    at Parser.allowInAnd (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:3112:12)\n' +
      '    at Parser.parseMaybeAssignAllowIn (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:245:17)\n' +
      '    at Parser.parseExprListItem (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:2735:18)\n' +
      '    at Parser.parseCallExpressionArguments (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:1035:14)\n' +
      '    at Parser.parseCoverCallAndAsyncArrowHead (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:877:29)\n' +
      '    at Parser.parseSubscript (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:766:19)\n' +
      '    at Parser.parseSubscripts (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:724:19)\n' +
      '    at Parser.parseExprSubscripts (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:709:17)\n' +
      '    at Parser.parseUpdate (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:680:21)\n' +
      '    at Parser.parseMaybeUnary (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:642:23)\n' +
      '    at Parser.parseMaybeUnaryOrPrivate (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:385:14)\n' +
      '    at Parser.parseExprOps (C:\\Projects\\test\\org\\node_modules\\@babel\\parser\\src\\parser\\expression.ts:397:23)\n' +
      '    at Parser.parseMay'... 2731 more characters,
    '2024-04-11T15:58:43.929Z workers [ts9ba] Run 0 test(s), skipped 0 test(s)\n',
    "2024-04-11T15:58:43.931Z workers 'Jest Test Run Complete (ts9ba): 2024-04-11T15:58:43.931Z'\n",
    '2024-04-11T15:58:43.934Z workers [ts9ba] Sandbox is responsive, closing it\n',
    '2024-04-11T15:58:43.936Z workers Failed to map the stack to user code, entry message: C:\\Projects\\test\\org\\apps\\org\\src\\app\\app.component.spec.ts: Missing semicolon. (16:42)\n' +
      '\n' +
      '  14 |     const fixture = TestBed.createComponent(AppComponent);\n' +
      '  15 |     fixture.detectChanges();\n' +
      '> 16 |     const compiled = fixture.nativeElement as HTMLElement;\n' +
      '     |                                           ^\n' +
      "  17 |     expect(compiled.querySelector('h1')?.textContent).toContain('Welcome org');\n" +
      '  18 |   });\n' +
      '  19 |, stack: Jest encountered an unexpected token\n' +
      '\n' +
      'Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.\n' +
      '\n' +
      'Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.\n' +
      '\n' +
      'By default "node_modules" folder is ignored by transformers.\n' +
      '\n' +
      "Here's what you can do:\n" +
      ' • If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.\n' +
      ' • If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript\n' +
      ' • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.\n' +
      ' • If you need a custom transformation specify a "transform" option in your config.\n' +
      ' • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.\n' +
      '\n' +
      "You'll find more details and exampl\n",
    '2024-04-11T15:58:43.936Z project Test run finished\n',
    '2024-04-11T15:58:43.937Z project Processed console.log entries\n',
    '2024-04-11T15:58:43.937Z project Processed loading sequences\n',
    '2024-04-11T15:58:43.937Z project Processed executed tests\n',
    '2024-04-11T15:58:43.937Z project Processed code coverage\n',
    '2024-04-11T15:58:43.941Z project Test run result processed and sent to IDE\n'
  ]
}

@smcenlly
Copy link
Member

Thanks for your diagnostics report and the sample project.

We made some performance improvements to Wallaby for Jest projects with .ts configuration files. It looks like there was a scenario that we hadn't catered for that affected your project.

Could you please update to the latest version of Wallaby core, v1.0.1556. It should work for you.

@smcenlly smcenlly added the bug label Apr 11, 2024
@gabrielgagne
Copy link
Author

Looks good now, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants