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

nx Monorepo: automatic configuration fails despite npx jest from root succeeding #3341

Closed
technoplato opened this issue Mar 10, 2024 · 2 comments

Comments

@technoplato
Copy link

technoplato commented Mar 10, 2024

Issue description or question

repo: https:/technoplato/knowar

I am following the directions here for setting up Wallaby with my nx monorepo.
npx jest does, indeed run successfully.

However, Wallaby reports unexpected import errors from node_modules that should of course be ignored.

0 failing tests, 4 passing  Launch Coverage/Test Explorer

Cannot use import statement outside a module
	at apps/traffic-lights/mobile/node_modules/wonka/src/Wonka_operators.test.ts:1

Cannot use import statement outside a module
	at apps/traffic-lights/mobile/node_modules/wonka/src/Wonka_sinks.test.ts:1

Cannot use import statement outside a module
	at apps/traffic-lights/mobile/node_modules/wonka/src/Wonka_sources.test.ts:1

Cannot use import statement outside a module
	at node_modules/verdaccio-audit/tests/audit.spec.ts:1

Cannot use import statement outside a module
	at node_modules/wonka/src/Wonka_operators.test.ts:1

Wallaby diagnostics report

{
  editorVersion: 'WebStorm 2023.3.2',
  pluginVersion: '1.0.284',
  editorType: 'IntelliJ',
  osVersion: 'darwin 23.2.0',
  nodeVersion: 'v16.20.0',
  coreVersion: '1.0.1345',
  checksum: 'NjMyNTUzYjliMWMwMjE5Njk4YjdmNDQ0MWIwZTlhODMsMTcxMDQ2MDgwMDAwMCww',
  config: {
    tests: [
      { pattern: 'apps/**/*.{test,spec}.{ts,tsx}', ignore: false, trigger: true, load: true, test: true, order: 6 },
      { pattern: 'libs/**/*.{test,spec}.{ts,tsx}', ignore: false, trigger: true, load: true, test: true, order: 7 }
    ],
    testFramework: { version: '[email protected]', configurator: '[email protected]', reporter: '[email protected]', starter: '[email protected]', autoDetected: true },
    trace: true,
    diagnostics: {
      jest: {
        config: {
          configs: [
            {
              automock: false,
              cache: true,
              cacheDirectory: '/private/var/folders/2d/5pqypl0x3px_4z4pbqxwczk80000gn/T/jest_dx',
              clearMocks: false,
              collectCoverageFrom: [],
              coverageDirectory: '<homeDir>/Development/Personal/Public/knoware/coverage/apps/games/follow-directions-react-native',
              coveragePathIgnorePatterns: [ '/node_modules/' ],
              cwd: '<homeDir>/Development/Personal/Public/knoware',
              dependencyExtractor: undefined,
              detectLeaks: false,
              detectOpenHandles: false,
              displayName: { color: 'white', name: 'follow-directions-react-native' },
              errorOnDeprecated: false,
              extensionsToTreatAsEsm: [],
              fakeTimers: { enableGlobally: false },
              filter: undefined,
              forceCoverageMatch: [],
              globalSetup: undefined,
              globalTeardown: undefined,
              globals: {},
              haste: { defaultPlatform: 'ios', platforms: [ 'android', 'ios', 'native' ] },
              id: 'ef5d4214c464f9eebe0d57d0035f6cd9',
              injectGlobals: true,
              moduleDirectories: [ 'node_modules' ],
              moduleFileExtensions: [ 'ts', 'js', 'html', 'tsx', 'jsx' ],
              moduleNameMapper: [ [ '\\.svg$', '@nx/react-native/plugins/jest/svg-mock' ] ],
              modulePathIgnorePatterns: [],
              modulePaths: undefined,
              openHandlesTimeout: 1000,
              prettierPath: 'prettier',
              resetMocks: false,
              resetModules: false,
              resolver: '<homeDir>/Development/Personal/Public/knoware/node_modules/@nx/jest/plugins/resolver.js',
              restoreMocks: false,
              rootDir: '<homeDir>/Development/Personal/Public/knoware/apps/games/follow-directions-react-native',
              roots: [ '<homeDir>/Development/Personal/Public/knoware/apps/games/follow-directions-react-native' ],
              runner: '<homeDir>/Development/Personal/Public/knoware/node_modules/jest-runner/build/index.js',
              runtime: undefined,
              sandboxInjectedGlobals: [],
              setupFiles: [ '<homeDir>/Development/Personal/Public/knoware/apps/games/follow-directions-react-native/node_modules/react-native/jest/setup.js' ],
              setupFilesAfterEnv: [ '<homeDir>/Development/Personal/Public/knoware/apps/games/follow-directions-react-native/test-setup.ts' ],
              skipFilter: false,
              skipNodeResolution: undefined,
              slowTestThreshold: 5,
              snapshotFormat: { escapeString: false, printBasicPrototype: false },
              snapshotResolver: undefined,
              snapshotSerializers: [],
              testEnvironment: '<homeDir>/Development/Personal/Public/knoware/apps/games/follow-directions-react-native/node_modules/react-native/jest/react-native-env.js',
              testEnvironmentOptions: {},
              testLocationInResults: false,
              testMatch: [ '**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[tj]s?(x)' ],
              testPathIgnorePatterns: [ '/node_modules/' ],
              testRegex: [],
              testRunner: '<homeDir>/Development/Personal/Public/knoware/node_modules/jest-circus/runner.js',
              transform: [
                [ '^.+\\.(js|ts|tsx)$', '<homeDir>/Development/Personal/Public/knoware/node_modules/babel-jest/build/index.js', {} ],
                [
                  '^.+\\.(bmp|gif|jpg|jpeg|mp4|png|psd|svg|webp)$',
                  '<homeDir>/Development/Personal/Public/knoware/apps/games/follow-directions-react-native/node_modules/react-native/jest/assetFileTransformer.js',
                  {}
                ]
              ],
              transformIgnorePatterns: [ 'node_modules/(?!((jest-)?react-native|@react-native(-community)?)/)' ],
              unmockedModulePathPatterns: undefined,
              watchPathIgnorePatterns: []
            },
            {
              automock: false,
              cache: true,
              cacheDirectory: '/private/var/folders/2d/5pqypl0x3px_4z4pbqxwczk80000gn/T/jest_dx',
              clearMocks: false,
              collectCoverageFrom: [],
              coverageDirectory: '<homeDir>/Development/Personal/Public/knoware/apps/traffic-lights/mobile-expo/coverage',
              coveragePathIgnorePatterns: [ '/node_modules/' ],
              cwd: '<homeDir>/Development/Personal/Public/knoware',
              dependencyExtractor: undefined,
              detectLeaks: false,
              detectOpenHandles: false,
              displayName: { color: 'white', name: 'mobile-expo' },
              errorOnDeprecated: false,
              extensionsToTreatAsEsm: [],
              fakeTimers: { enableGlobally: false },
              filter: undefined,
              forceCoverageMatch: [],
              globalSetup: undefined,
              globalTeardown: undefined,
              globals: {},
              haste: { defaultPlatform: 'ios', platforms: [ 'android', 'ios', 'native' ] },
              id: '358ea616fe5d73c1fd17916fa3bf4ad0',
              injectGlobals: true,
              moduleDirectories: [ 'node_modules' ],
              moduleFileExtensions: [ 'ts', 'js', 'html', 'tsx', 'jsx' ],
              moduleNameMapper: [ [ '\\.svg$', '@nx/expo/plugins/jest/svg-mock' ] ],
              modulePathIgnorePatterns: [],
              modulePaths: undefined,
              openHandlesTimeout: 1000,
              prettierPath: 'prettier',
              resetMocks: false,
              resetModules: false,
              resolver: '<homeDir>/Development/Personal/Public/knoware/node_modules/@nx/jest/plugins/resolver.js',
              restoreMocks: false,
              rootDir: '<homeDir>/Development/Personal/Public/knoware/apps/traffic-lights/mobile-expo',
              roots: [ '<homeDir>/Development/Personal/Public/knoware/apps/traffic-lights/mobile-expo' ],
              runner: '<homeDir>/Development/Personal/Public/knoware/node_modules/jest-runner/build/index.js',
              runtime: undefined,
              sandboxInjectedGlobals: [],
              setupFiles: [
                '<homeDir>/Development/Personal/Public/knoware/node_modules/react-native/jest/setup.js',
                '<homeDir>/Development/Personal/Public/knoware/node_modules/jest-expo/src/preset/setup.js'
              ],
              setupFilesAfterEnv: [ '<homeDir>/Development/Personal/Public/knoware/apps/traffic-lights/mobile-expo/test-setup.ts' ],
              skipFilter: false,
              skipNodeResolution: undefined,
              slowTestThreshold: 5,
              snapshotFormat: { escapeString: false, printBasicPrototype: false },
              snapshotResolver: undefined,
              snapshotSerializers: [],
              testEnvironment: '<homeDir>/Development/Personal/Public/knoware/node_modules/react-native/jest/react-native-env.js',
              testEnvironmentOptions: {},
              testLocationInResults: false,
              testMatch: [ '**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[tj]s?(x)' ],
              testPathIgnorePatterns: [ '/node_modules/' ],
              testRegex: [],
              testRunner: '<homeDir>/Development/Personal/Public/knoware/node_modules/jest-circus/runner.js',
              transform: [
                [ '^.+\\.(js|ts|tsx)$', '<homeDir>/Development/Personal/Public/knoware/node_modules/babel-jest/build/index.js', {} ],
                [
                  '^.+\\.(bmp|gif|jpg|jpeg|mp4|png|psd|svg|webp|ttf|otf|m4v|mov|mp4|mpeg|mpg|webm|aac|aiff|caf|m4a|mp3|wav|html|pdf|obj)$',
                  '<homeDir>/Development/Personal/Public/knoware/node_modules/jest-expo/src/preset/assetFileTransformer.js',
                  {}
                ]
              ],
              transformIgnorePatterns: [
                'node_modules/(?!((jest-)?react-native|@react-native(-community)?)|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*|react-navigation|@react-navigation/.*|@unimodules/.*|unimodules|sentry-expo|native-base|react-native-svg)'
              ],
              unmockedModulePathPatterns: undefined,
              watchPathIgnorePatterns: []
            },
            {
              automock: false,
              cache: true,
              cacheDirectory: '/private/var/folders/2d/5pqypl0x3px_4z4pbqxwczk80000gn/T/jest_dx',
              clearMocks: false,
              collectCoverageFrom: [],
              coverageDirectory: '<homeDir>/Development/Personal/Public/knoware/coverage/libs/games/follow-directions',
              coveragePathIgnorePatterns: [ '/node_modules/' ],
              cwd: '<homeDir>/Development/Personal/Public/knoware',
              dependencyExtractor: undefined,
              detectLeaks: false,
              detectOpenHandles: false,
              displayName: { color: 'white', name: 'follow-directions-logic' },
              errorOnDeprecated: false,
              extensionsToTreatAsEsm: [],
              fakeTimers: { enableGlobally: false },
              filter: undefined,
              forceCoverageMatch: [],
              globalSetup: undefined,
              globalTeardown: undefined,
              globals: {},
              haste: { computeSha1: false, enableSymlinks: false, forceNodeFilesystemAPI: true, throwOnModuleCollision: false },
              id: '02b1ad8abcea11176379e4ca2e8fabe1',
              injectGlobals: true,
              moduleDirectories: [ 'node_modules' ],
              moduleFileExtensions: [ 'ts', 'js', 'html' ],
              moduleNameMapper: [],
              modulePathIgnorePatterns: [],
              modulePaths: undefined,
              openHandlesTimeout: 1000,
              prettierPath: 'prettier',
              resetMocks: false,
              resetModules: false,
              resolver: '<homeDir>/Development/Personal/Public/knoware/node_modules/@nx/jest/plugins/resolver.js',
              restoreMocks: false,
              rootDir: '<homeDir>/Development/Personal/Public/knoware/libs/games/follow-directions',
              roots: [ '<homeDir>/Development/Personal/Public/knoware/libs/games/follow-directions' ],
              runner: '<homeDir>/Development/Personal/Public/knoware/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: '<homeDir>/Development/Personal/Public/knoware/node_modules/jest-environment-node/build/index.js',
              testEnvironmentOptions: { customExportConditions: [ 'node', 'require', 'default' ] },
              testLocationInResults: false,
              testMatch: [ '**/?(*.)+(spec|test).[jt]s?(x)' ],
              testPathIgnorePatterns: [ '/node_modules/(?!typed-assert)/' ],
              testRegex: [],
              testRunner: '<homeDir>/Development/Personal/Public/knoware/node_modules/jest-circus/runner.js',
              transform: [
                [ '^.+\\.[tj]s$', '<homeDir>/Development/Personal/Public/knoware/node_modules/ts-jest/dist/index.js', { tsconfig: '<rootDir>/tsconfig.spec.json' } ],
                [ '^.+\\.(ts|js|html)$', '<homeDir>/Development/Personal/Public/knoware/node_modules/ts-jest/dist/index.js', { tsconfig: '<rootDir>/tsconfig.spec.json' } ]
              ],
              transformIgnorePatterns: [ '/node_modules/(?!typed-assert)/' ],
              unmockedModulePathPatterns: undefined,
              watchPathIgnorePatterns: []
            },
            {
              automock: false,
              cache: true,
              cacheDirectory: '/private/var/folders/2d/5pqypl0x3px_4z4pbqxwczk80000gn/T/jest_dx',
              clearMocks: false,
              collectCoverageFrom: [],
              coverageDirectory: '<homeDir>/Development/Personal/Public/knoware/coverage/apps/traffic-lights/mobile',
              coveragePathIgnorePatterns: [ '/node_modules/' ],
              cwd: '<homeDir>/Development/Personal/Public/knoware',
              dependencyExtractor: undefined,
              detectLeaks: false,
              detectOpenHandles: false,
              displayName: { color: 'white', name: 'mobile' },
              errorOnDeprecated: false,
              extensionsToTreatAsEsm: [],
              fakeTimers: { enableGlobally: false },
              filter: undefined,
              forceCoverageMatch: [],
              globalSetup: undefined,
              globalTeardown: undefined,
              globals: {},
              haste: { defaultPlatform: 'ios', platforms: [ 'android', 'ios', 'native' ] },
              id: 'cf74638c42f4ee5444cfab32305e45a3',
              injectGlobals: true,
              moduleDirectories: [ 'node_modules' ],
              moduleFileExtensions: [ 'ts', 'js', 'html', 'tsx', 'jsx' ],
              moduleNameMapper: [ [ '\\.svg$', '@nx/react-native/plugins/jest/svg-mock' ] ],
              modulePathIgnorePatterns: [],
              modulePaths: undefined,
              openHandlesTimeout: 1000,
              prettierPath: 'prettier',
              resetMocks: false,
              resetModules: false,
              resolver: '<homeDir>/Development/Personal/Public/knoware/node_modules/@nx/jest/plugins/resolver.js',
              restoreMocks: false,
              rootDir: '<homeDir>/Development/Personal/Public/knoware/apps/traffic-lights/mobile',
              roots: [ '<homeDir>/Development/Personal/Public/knoware/apps/traffic-lights/mobile' ],
              runner: '<homeDir>/Development/Personal/Public/knoware/node_modules/jest-runner/build/index.js',
              runtime: undefined,
              sandboxInjectedGlobals: [],
              setupFiles: [ '<homeDir>/Development/Personal/Public/knoware/node_modules/react-native/jest/setup.js' ],
              setupFilesAfterEnv: [ '<homeDir>/Development/Personal/Public/knoware/apps/traffic-lights/mobile/test-setup.ts' ],
              skipFilter: false,
              skipNodeResolution: undefined,
              slowTestThreshold: 5,
              snapshotFormat: { escapeString: false, printBasicPrototype: false },
              snapshotResolver: undefined,
              snapshotSerializers: [],
              testEnvironment: '<homeDir>/Development/Personal/Public/knoware/node_modules/react-native/jest/react-native-env.js',
              testEnvironmentOptions: {},
              testLocationInResults: false,
              testMatch: [ '**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[tj]s?(x)' ],
              testPathIgnorePatterns: [ '/node_modules/' ],
              testRegex: [],
              testRunner: '<homeDir>/Development/Personal/Public/knoware/node_modules/jest-circus/runner.js',
              transform: [
                [ '^.+\\.(js|ts|tsx)$', '<homeDir>/Development/Personal/Public/knoware/node_modules/babel-jest/build/index.js', {} ],
                [ '^.+\\.(bmp|gif|jpg|jpeg|mp4|png|psd|svg|webp)$', '<homeDir>/Development/Personal/Public/knoware/node_modules/react-native/jest/assetFileTransformer.js', {} ]
              ],
              transformIgnorePatterns: [ 'node_modules/(?!((jest-)?react-native|@react-native(-community)?)/)' ],
              unmockedModulePathPatterns: undefined,
              watchPathIgnorePatterns: []
            }
          ],
          globalConfig: {
            bail: 0,
            changedFilesWithAncestor: false,
            changedSince: undefined,
            ci: false,
            collectCoverage: false,
            collectCoverageFrom: [],
            coverageDirectory: '<homeDir>/Development/Personal/Public/knoware/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: 9,
            noSCM: undefined,
            noStackTrace: false,
            nonFlagArgs: undefined,
            notify: false,
            notifyMode: 'failure-change',
            onlyChanged: false,
            onlyFailures: false,
            openHandlesTimeout: 1000,
            outputFile: undefined,
            passWithNoTests: false,
            projects: [
              '<homeDir>/Development/Personal/Public/knoware/apps/games/follow-directions-react-native/jest.config.ts',
              '<homeDir>/Development/Personal/Public/knoware/apps/traffic-lights/mobile-expo/jest.config.ts',
              '<homeDir>/Development/Personal/Public/knoware/libs/games/follow-directions/jest.config.ts',
              '<homeDir>/Development/Personal/Public/knoware/apps/traffic-lights/mobile/jest.config.ts'
            ],
            randomize: undefined,
            replname: undefined,
            reporters: undefined,
            rootDir: '<homeDir>/Development/Personal/Public/knoware',
            runInBand: undefined,
            runTestsByPath: false,
            seed: 510111527,
            shard: undefined,
            showSeed: undefined,
            silent: undefined,
            skipFilter: false,
            snapshotFormat: { escapeString: false, printBasicPrototype: false },
            testFailureExitCode: 1,
            testNamePattern: undefined,
            testPathPattern: '',
            testResultsProcessor: undefined,
            testSequencer: '<homeDir>/Development/Personal/Public/knoware/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: [ 'apps/games/follow-directions-react-native', 'apps/traffic-lights/mobile-expo', 'libs/games/follow-directions', 'apps/traffic-lights/mobile' ],
            watchPathIgnorePatterns: [
              '/node_modules/',
              '\\./dist/|\\./build/|\\./coverage/|\\./git/|/\\..+/|android/|ios/',
              '/private/var/folders/2d/5pqypl0x3px_4z4pbqxwczk80000gn/T/jest_dx',
              '(libs/games/follow-directions.*)/node_modules/(?!typed-assert)/',
              '\\./coverage'
            ],
            testPathIgnorePatterns: [
              '/node_modules/',
              '\\./dist/|\\./build/|\\./coverage/|\\./git/|/\\..+/|android/|ios/',
              '/private/var/folders/2d/5pqypl0x3px_4z4pbqxwczk80000gn/T/jest_dx',
              '(libs/games/follow-directions.*)/node_modules/(?!typed-assert)/',
              '\\./coverage'
            ],
            testMatch: [ '**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[tj]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)' ],
            testRegex: []
          }
        }
      }
    },
    filesWithCoverageCalculated: [],
    filesWithNoCoverageCalculated: [],
    globalSetup: false,
    dot: true,
    files: [
      { pattern: '/node_modules/', regexp: /\/node_modules\//, ignore: true, trigger: true, load: true, file: true },
      {
        pattern: '\\./dist/|\\./build/|\\./coverage/|\\./git/|/\\..+/|android/|ios/',
        regexp: /\.\/dist\/|\.\/build\/|\.\/coverage\/|\.\/git\/|\/\..+\/|android\/|ios\//,
        ignore: true,
        trigger: true,
        load: true,
        file: true
      },
      {
        pattern: '/private/var/folders/2d/5pqypl0x3px_4z4pbqxwczk80000gn/T/jest_dx',
        regexp: /\/private\/var\/folders\/2d\/5pqypl0x3px_4z4pbqxwczk80000gn\/T\/jest_dx/,
        ignore: true,
        trigger: true,
        load: true,
        file: true
      },
      {
        pattern: '(libs/games/follow-directions.*)/node_modules/(?!typed-assert)/',
        regexp: /(libs\/games\/follow-directions.*)\/node_modules\/(?!typed-assert)\//,
        ignore: true,
        trigger: true,
        load: true,
        file: true
      },
      { pattern: '\\./coverage', regexp: /\.\/coverage/, ignore: true, trigger: true, load: true, file: true },
      { pattern: '**/**', ignore: false, trigger: true, load: true, order: 1 },
      { pattern: 'apps/games/follow-directions-react-native/**', ignore: false, trigger: true, load: true, order: 2 },
      { pattern: 'apps/traffic-lights/mobile-expo/**', ignore: false, trigger: true, load: true, order: 3 },
      { pattern: 'libs/games/follow-directions/**', ignore: false, trigger: true, load: true, order: 4 },
      { pattern: 'apps/traffic-lights/mobile/**', ignore: false, trigger: true, load: true, order: 5 },
      { pattern: 'apps/**/*.{test,spec}.{ts,tsx}', ignore: true, trigger: true, load: true, file: true },
      { pattern: 'libs/**/*.{test,spec}.{ts,tsx}', ignore: true, trigger: true, load: true, file: true }
    ],
    runAllTestsInAffectedTestFile: false,
    updateNoMoreThanOneSnapshotPerTestFileRun: false,
    compilers: {},
    logLimits: { inline: { depth: 5, elements: 5000 }, values: { default: { stringLength: 200 }, 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/',
      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: '/usr/local/bin/node', viewportSize: { width: 800, height: 600 }, options: { width: 800, height: 600 }, bundle: true },
    reportUnhandledPromises: true,
    slowTestThreshold: 75,
    lowCoverageThreshold: 80,
    runAllTestsWhenNoAffectedTests: false,
    configCode: 'auto.detect#835202468'
  },
  packageJSON: {
    dependencies: {
      '@expo/metro-config': '~0.10.7',
      '@nx/expo': '^17.0.0-beta.6',
      '@react-native-async-storage/async-storage': '^1.19.3',
      '@react-three/drei': '^9.88.7',
      '@react-three/fiber': '^8.15.8',
      '@react-three/postprocessing': '^2.15.8',
      '@statelyai/sky': '^0.0.4',
      '@statelyai/sky-react': '^0.0.4',
      '@swc/helpers': '~0.5.2',
      '@types/three': '^0.158.0',
      '@xstate/react': '^4.1.0',
      'event-target-shim': '6.0.2',
      expo: '49.0.10',
      'expo-splash-screen': '~0.20.5',
      'expo-status-bar': '~1.6.0',
      next: '13.4.1',
      react: '18.2.0',
      'react-dom': '18.2.0',
      'react-is': '18.2.0',
      'react-native': '0.72.4',
      'react-native-web': '~0.19.8',
      'styled-components': '5.3.6',
      three: '^0.158.0',
      tslib: '^2.3.0',
      xstate: '^5.9.1'
    },
    devDependencies: {
      '@babel/core': '^7.14.5',
      '@babel/preset-react': '^7.14.5',
      '@config-plugins/detox': '~6.0.0',
      '@expo/cli': '~0.10.12',
      '@nx/cypress': '16.10.0',
      '@nx/detox': '17.0.0-beta.6',
      '@nx/devkit': '16.10.0',
      '@nx/eslint-plugin': '16.10.0',
      '@nx/jest': '17.0.0-beta.6',
      '@nx/js': '17.0.0-beta.6',
      '@nx/linter': '16.10.0',
      '@nx/next': '^16.10.0',
      '@nx/playwright': '16.10.0',
      '@nx/react': '16.10.0',
      '@nx/react-native': '^16.10.0',
      '@nx/vite': '16.10.0',
      '@nx/workspace': '16.10.0',
      '@playwright/test': '^1.36.0',
      '@react-native-community/cli': '11.3.6',
      '@react-native-community/cli-platform-android': '11.3.6',
      '@react-native-community/cli-platform-ios': '11.3.6',
      '@react-native/metro-config': '^0.72.11',
      '@swc-node/register': '~1.6.7',
      '@swc/cli': '~0.1.62',
      '@swc/core': '~1.3.85',
      '@swc/plugin-styled-components': '^1.5.67',
      '@testing-library/jest-dom': '5.16.5',
      '@testing-library/jest-native': '~5.4.3',
      '@testing-library/react': '14.0.0',
      '@testing-library/react-native': '~12.3.0',
      '@types/jest': '^29.4.0',
      '@types/node': '18.14.4',
      '@types/react': '18.2.24',
      '@types/react-dom': '18.2.9',
      '@types/react-is': '18.2.2',
      '@types/styled-components': '5.1.26',
      '@typescript-eslint/eslint-plugin': '^5.60.1',
      '@typescript-eslint/parser': '^5.60.1',
      '@vitejs/plugin-react': '~4.0.0',
      '@vitest/coverage-c8': '~0.32.0',
      '@vitest/ui': '~0.32.0',
      'babel-jest': '^29.4.1',
      'babel-plugin-styled-components': '1.10.7',
      'babel-preset-expo': '~9.5.2',
      cypress: '^13.0.0',
      detox: '^20.11.1',
      'eas-cli': '~5.2.0',
      eslint: '~8.46.0',
      'eslint-config-next': '13.4.1',
      'eslint-config-prettier': '8.1.0',
      'eslint-plugin-cypress': '^2.13.4',
      'eslint-plugin-import': '2.27.5',
      'eslint-plugin-jsx-a11y': '6.7.1',
      'eslint-plugin-playwright': '^0.15.3',
      'eslint-plugin-react': '7.32.2',
      'eslint-plugin-react-hooks': '4.6.0',
      jest: '^29.4.1',
      'jest-circus': '^29.4.1',
      'jest-environment-jsdom': '^29.4.1',
      'jest-environment-node': '^29.4.1',
      'jest-expo': '~49.0.0',
      'jest-react-native': '18.0.0',
      jsdom: '~22.1.0',
      metro: '0.76.7',
      'metro-babel-register': '0.76.7',
      'metro-config': '0.76.7',
      'metro-react-native-babel-preset': '0.76.7',
      'metro-react-native-babel-transformer': '0.76.7',
      'metro-resolver': '0.76.7',
      nx: '16.10.0',
      'nx-cloud': 'latest',
      'nx-ngrok': '^1.2.1',
      prettier: '^2.6.2',
      'react-native-svg': '13.9.0',
      'react-native-svg-transformer': '1.0.0',
      'react-test-renderer': '18.2.0',
      'ts-jest': '^29.1.0',
      'ts-node': '10.9.1',
      typescript: '~5.1.3',
      verdaccio: '^5.0.4',
      vite: '~4.3.9',
      'vite-plugin-dts': '~2.3.0',
      vitest: '~0.32.0'
    }
  },
  fs: { numberOfFiles: 197 },
  debug: [
    '2024-03-10T11:47:23.450Z extended-core Validating Open Source License\n',
    "2024-03-10T11:47:23.450Z extended-core Remotes:  [ 'https:/technoplato/knoware/' ]\n",
    '2024-03-10T11:47:23.459Z config Attempting automatic configuration for angular\n',
    '2024-03-10T11:47:23.461Z angular/cli config Angular CLI not found.\n',
    '2024-03-10T11:47:23.461Z config Finished attempting automatic configuration for angular (2ms)\n',
    '2024-03-10T11:47:23.462Z config Attempting automatic configuration for jest\n',
    '2024-03-10T11:47:24.213Z jest/config Detected Jest.\n',
    '2024-03-10T11:47:24.214Z jest/config Configured Jest.\n',
    '2024-03-10T11:47:24.214Z config Finished attempting automatic configuration for jest (752ms)\n',
    '2024-03-10T11:47:24.215Z project Wallaby Node version: v16.20.0\n',
    '2024-03-10T11:47:24.215Z project Wallaby config: <homeDir>/Development/Personal/Public/knoware/auto.detect\n',
    '2024-03-10T11:47:24.218Z fs File system starting\n',
    '2024-03-10T11:47:24.571Z fs File system scan completed\n',
    '2024-03-10T11:47:24.574Z project File cache: <homeDir>/Library/Caches/JetBrains/WebStorm2023.3/wallaby/projects/71ea3869aef2b024\n',
    '2024-03-10T11:47:24.600Z uiService Listening port 51235\n',
    '2024-03-10T11:47:24.609Z workers Parallelism for initial run: 8, for regular run: 4\n',
    '2024-03-10T11:47:24.609Z workers Starting run worker instance #0\n',
    '2024-03-10T11:47:24.609Z workers Starting run worker instance #1\n',
    '2024-03-10T11:47:24.609Z workers Starting run worker instance #2\n',
    '2024-03-10T11:47:24.609Z workers Starting run worker instance #3\n',
    '2024-03-10T11:47:24.609Z workers Starting run worker instance #4\n',
    '2024-03-10T11:47:24.609Z workers Starting run worker instance #5\n',
    '2024-03-10T11:47:24.609Z workers Starting run worker instance #6\n',
    '2024-03-10T11:47:24.609Z workers Starting run worker instance #7\n',
    '2024-03-10T11:47:24.610Z workers Web server is listening at 53833\n',
    '2024-03-10T11:47:24.637Z project Stopping process pool\n',
    '2024-03-10T11:47:24.637Z project File cache is up-to-date, starting full test run\n',
    '2024-03-10T11:47:24.639Z project Test run started; run priority: 3\n',
    '2024-03-10T11:47:24.639Z project Running all tests\n',
    '2024-03-10T11:47:24.641Z workers Starting test run, priority: 3\n',
    '2024-03-10T11:47:24.641Z workers Distributing tests between 8 workers\n',
    '2024-03-10T11:47:24.641Z workers Running tests in parallel\n',
    '2024-03-10T11:47:24.641Z nodeRunner Starting sandbox [worker #0, session #f1um8]\n',
    '2024-03-10T11:47:24.641Z nodeRunner Starting sandbox [worker #1, session #ex163]\n',
    '2024-03-10T11:47:24.641Z nodeRunner Starting sandbox [worker #2, session #7okib]\n',
    '2024-03-10T11:47:24.641Z nodeRunner Starting sandbox [worker #3, session #04879]\n',
    '2024-03-10T11:47:24.641Z nodeRunner Starting sandbox [worker #4, session #30cle]\n',
    '2024-03-10T11:47:24.641Z nodeRunner Starting sandbox [worker #5, session #ukrgz]\n',
    '2024-03-10T11:47:24.642Z nodeRunner Starting sandbox [worker #6, session #xzri9]\n',
    '2024-03-10T11:47:24.642Z nodeRunner Starting sandbox [worker #7, session #klazb]\n',
    '2024-03-10T11:47:24.642Z nodeRunner Preparing sandbox [worker #0, session #f1um8]\n',
    '2024-03-10T11:47:24.642Z nodeRunner Preparing sandbox [worker #1, session #ex163]\n',
    '2024-03-10T11:47:24.642Z nodeRunner Preparing sandbox [worker #2, session #7okib]\n',
    '2024-03-10T11:47:24.642Z nodeRunner Preparing sandbox [worker #3, session #04879]\n',
    '2024-03-10T11:47:24.642Z nodeRunner Preparing sandbox [worker #4, session #30cle]\n',
    '2024-03-10T11:47:24.642Z nodeRunner Preparing sandbox [worker #5, session #ukrgz]\n',
    '2024-03-10T11:47:24.642Z nodeRunner Preparing sandbox [worker #6, session #xzri9]\n',
    '2024-03-10T11:47:24.642Z nodeRunner Preparing sandbox [worker #7, session #klazb]\n',
    '2024-03-10T11:47:24.724Z workers Started run worker instance (delayed) #1\n',
    '2024-03-10T11:47:24.724Z nodeRunner Prepared sandbox [worker #1, session #ex163]\n',
    '2024-03-10T11:47:24.724Z workers [worker #1, session #ex163] Running tests in sandbox\n',
    '2024-03-10T11:47:24.725Z workers Started run worker instance (delayed) #2\n',
    '2024-03-10T11:47:24.725Z nodeRunner Prepared sandbox [worker #2, session #7okib]\n',
    '2024-03-10T11:47:24.725Z workers [worker #2, session #7okib] Running tests in sandbox\n',
    '2024-03-10T11:47:24.726Z workers Started run worker instance (delayed) #0\n',
    '2024-03-10T11:47:24.726Z nodeRunner Prepared sandbox [worker #0, session #f1um8]\n',
    '2024-03-10T11:47:24.726Z workers [worker #0, session #f1um8] Running tests in sandbox\n',
    '2024-03-10T11:47:24.730Z workers Started run worker instance (delayed) #3\n',
    '2024-03-10T11:47:24.730Z nodeRunner Prepared sandbox [worker #3, session #04879]\n',
    '2024-03-10T11:47:24.730Z workers [worker #3, session #04879] Running tests in sandbox\n',
    '2024-03-10T11:47:24.735Z workers Started run worker instance (delayed) #4\n',
    '2024-03-10T11:47:24.735Z nodeRunner Prepared sandbox [worker #4, session #30cle]\n',
    '2024-03-10T11:47:24.735Z workers [worker #4, session #30cle] Running tests in sandbox\n',
    '2024-03-10T11:47:24.739Z workers Started run worker instance (delayed) #5\n',
    '2024-03-10T11:47:24.739Z nodeRunner Prepared sandbox [worker #5, session #ukrgz]\n',
    '2024-03-10T11:47:24.739Z workers [worker #5, session #ukrgz] Running tests in sandbox\n',
    '2024-03-10T11:47:24.739Z workers Started run worker instance (delayed) #6\n',
    '2024-03-10T11:47:24.740Z nodeRunner Prepared sandbox [worker #6, session #xzri9]\n',
    '2024-03-10T11:47:24.740Z workers [worker #6, session #xzri9] Running tests in sandbox\n',
    '2024-03-10T11:47:24.740Z workers Started run worker instance (delayed) #7\n',
    '2024-03-10T11:47:24.740Z nodeRunner Prepared sandbox [worker #7, session #klazb]\n',
    '2024-03-10T11:47:24.740Z workers [worker #7, session #klazb] Running tests in sandbox\n',
    '2024-03-10T11:47:24.800Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:24.877Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:24.878Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:24.878Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:24.878Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:24.878Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:24.878Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:24.879Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:24.909Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:25.099Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:25.100Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:25.100Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:25.100Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:25.100Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:25.100Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:25.101Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:25.151Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:25.464Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:25.740Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:26.040Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:26.127Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:26.127Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:26.127Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:26.128Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:26.128Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:26.128Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:26.244Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:26.244Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:26.244Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:26.244Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:26.244Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:26.245Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:27.223Z fs File deleted: .git/.watchman-cookie-laptop.local-1088-316\n',
    '2024-03-10T11:47:27.224Z fs No metadata for deleted file found: .git/.watchman-cookie-laptop.local-1088-316\n',
    '2024-03-10T11:47:27.354Z fs File deleted: .git/.watchman-cookie-laptop.local-1088-326\n',
    '2024-03-10T11:47:27.354Z fs No metadata for deleted file found: .git/.watchman-cookie-laptop.local-1088-326\n',
    '2024-03-10T11:47:27.354Z fs File deleted: .git/.watchman-cookie-laptop.local-1088-325\n',
    '2024-03-10T11:47:27.354Z fs No metadata for deleted file found: .git/.watchman-cookie-laptop.local-1088-325\n',
    '2024-03-10T11:47:27.625Z fs File deleted: .git/.watchman-cookie-laptop.local-1088-343\n',
    '2024-03-10T11:47:27.625Z fs No metadata for deleted file found: .git/.watchman-cookie-laptop.local-1088-343\n',
    '2024-03-10T11:47:27.625Z fs File deleted: .git/.watchman-cookie-laptop.local-1088-342\n',
    '2024-03-10T11:47:27.625Z fs No metadata for deleted file found: .git/.watchman-cookie-laptop.local-1088-342\n',
    '2024-03-10T11:47:27.773Z workers Scheduling Jest Test Run (ex163): 2024-03-10T11:47:27.358Z\n',
    '2024-03-10T11:47:27.773Z workers [ex163] Loaded unknown number of test(s)\n',
    '2024-03-10T11:47:27.774Z workers [ex163] Test executed: should display welcome message\n',
    '2024-03-10T11:47:27.782Z workers [ex163] Run 1 test(s), skipped 0 test(s)\n',
    '2024-03-10T11:47:27.783Z workers Jest Test Run Complete (ex163): 2024-03-10T11:47:27.769Z\n',
    '2024-03-10T11:47:27.785Z workers [ex163] Sandbox is responsive, closing it\n',
    '2024-03-10T11:47:27.787Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:27.823Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:27.830Z workers Scheduling Jest Test Run (f1um8): 2024-03-10T11:47:27.218Z\n',
    '2024-03-10T11:47:27.833Z workers [f1um8] Loaded unknown number of test(s)\n',
    '2024-03-10T11:47:27.836Z workers [f1um8] Test executed: should display welcome message\n',
    '2024-03-10T11:47:27.878Z workers [f1um8] Run 1 test(s), skipped 0 test(s)\n',
    '2024-03-10T11:47:27.879Z workers Jest Test Run Complete (f1um8): 2024-03-10T11:47:27.827Z\n',
    '2024-03-10T11:47:27.882Z workers [f1um8] Sandbox is responsive, closing it\n',
    '2024-03-10T11:47:27.936Z workers Scheduling Jest Test Run (klazb): 2024-03-10T11:47:27.230Z\n',
    '2024-03-10T11:47:27.972Z workers Sandbox (active) [klazb] 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' +
      './node_modules/wonka/src/Wonka_operators.test.ts:1\n' +
      `({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){import * as deriving from './helpers/Wonka_deriving';\n` +
      '                                                                                  ^^^^^^\n' +
      '\n' +
      'SyntaxError: Cannot use import statement outside a module\n' +
      '    at new Script (node:vm:100:7)\n' +
      '    at Runtime.createScriptFromCode (./node_modules/jest-runtime/build/index.js:1505:14)\n' +
      '    at Runtime._execModule (./node_modules/jest-runtime/build/index.js:1399:25)\n' +
      '    at Runtime._loadModule (./node_modules/jest-runtime/build/index.js:1022:12)\n' +
      '    at Runtime.requireModule (./node_modules/jest-runtime/build/index.js:882:12)\n' +
      '    at jestAdapter (./node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n' +
      '    at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' +
      '    at async runTestInternal (./node_modules/jest-runner/build/runTest.js:367:16)\n' +
      '    at async runTest (./node_modules/jest-runner/build/runTest.js:444:34)\n',
    '2024-03-10T11:47:27.998Z workers [klazb] Run 0 test(s), skipped 0 test(s)\n',
    '2024-03-10T11:47:28.000Z workers Jest Test Run Complete (klazb): 2024-03-10T11:47:27.929Z\n',
    '2024-03-10T11:47:28.003Z workers [klazb] Sandbox is responsive, closing it\n',
    '2024-03-10T11:47:28.050Z workers Scheduling Jest Test Run (ukrgz): 2024-03-10T11:47:27.553Z\n',
    '2024-03-10T11:47:28.056Z workers [ukrgz] Loaded unknown number of test(s)\n',
    '2024-03-10T11:47:28.057Z workers [ukrgz] Test executed: should render successfully\n',
    '2024-03-10T11:47:28.058Z workers [ukrgz] Test executed: should have a greeting as the title\n',
    '2024-03-10T11:47:28.099Z workers [ukrgz] Run 2 test(s), skipped 0 test(s)\n',
    '2024-03-10T11:47:28.100Z workers Jest Test Run Complete (ukrgz): 2024-03-10T11:47:28.032Z\n',
    '2024-03-10T11:47:28.102Z workers [ukrgz] Sandbox is responsive, closing it\n',
    '2024-03-10T11:47:28.168Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:28.174Z workers Scheduling Jest Test Run (04879): 2024-03-10T11:47:27.258Z\n',
    '2024-03-10T11:47:28.179Z workers Sandbox (active) [04879] 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' +
      './apps/traffic-lights/mobile/node_modules/wonka/src/Wonka_sinks.test.ts:1\n' +
      `({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){import * as deriving from './helpers/Wonka_deriving';\n` +
      '                                                                                  ^^^^^^\n' +
      '\n' +
      'SyntaxError: Cannot use import statement outside a module\n' +
      '    at new Script (node:vm:100:7)\n' +
      '    at Runtime.createScriptFromCode (./node_modules/jest-runtime/build/index.js:1505:14)\n' +
      '    at Runtime._execModule (./node_modules/jest-runtime/build/index.js:1399:25)\n' +
      '    at Runtime._loadModule (./node_modules/jest-runtime/build/index.js:1022:12)\n' +
      '    at Runtime.requireModule (./node_modules/jest-runtime/build/index.js:882:12)\n' +
      '    at jestAdapter (./node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n' +
      '    at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' +
      '    at async runTestInternal (./node_modules/jest-runner/build/runTest.js:367:16)\n' +
      '    at async runTest (./node_modules/jest-runner/build/runTest.js:444:34)\n',
    '2024-03-10T11:47:28.187Z workers [04879] Run 0 test(s), skipped 0 test(s)\n',
    '2024-03-10T11:47:28.191Z workers Scheduling Jest Test Run (7okib): 2024-03-10T11:47:27.403Z\n',
    '2024-03-10T11:47:28.191Z workers Jest Test Run Complete (04879): 2024-03-10T11:47:28.169Z\n',
    '2024-03-10T11:47:28.193Z workers [04879] Sandbox is responsive, closing it\n',
    '2024-03-10T11:47:28.194Z workers Sandbox (active) [7okib] 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' +
      './apps/traffic-lights/mobile/node_modules/wonka/src/Wonka_operators.test.ts:1\n' +
      `({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){import * as deriving from './helpers/Wonka_deriving';\n` +
      '                                                                                  ^^^^^^\n' +
      '\n' +
      'SyntaxError: Cannot use import statement outside a module\n' +
      '    at new Script (node:vm:100:7)\n' +
      '    at Runtime.createScriptFromCode (./node_modules/jest-runtime/build/index.js:1505:14)\n' +
      '    at Runtime._execModule (./node_modules/jest-runtime/build/index.js:1399:25)\n' +
      '    at Runtime._loadModule (./node_modules/jest-runtime/build/index.js:1022:12)\n' +
      '    at Runtime.requireModule (./node_modules/jest-runtime/build/index.js:882:12)\n' +
      '    at jestAdapter (./node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n' +
      '    at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' +
      '    at async runTestInternal (./node_modules/jest-runner/build/runTest.js:367:16)\n' +
      '    at async runTest (./node_modules/jest-runner/build/runTest.js:444:34)\n',
    '2024-03-10T11:47:28.197Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:28.203Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:28.204Z workers [7okib] Run 0 test(s), skipped 0 test(s)\n',
    '2024-03-10T11:47:28.209Z workers Jest Test Run Complete (7okib): 2024-03-10T11:47:28.189Z\n',
    '2024-03-10T11:47:28.210Z workers [7okib] Sandbox is responsive, closing it\n',
    '2024-03-10T11:47:28.227Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-03-10T11:47:28.435Z workers Scheduling Jest Test Run (30cle): 2024-03-10T11:47:27.538Z\n',
    '2024-03-10T11:47:28.442Z workers Sandbox (active) [30cle] 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' +
      './apps/traffic-lights/mobile/node_modules/wonka/src/Wonka_sources.test.ts:1\n' +
      `({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){import * as deriving from './helpers/Wonka_deriving';\n` +
      '                                                                                  ^^^^^^\n' +
      '\n' +
      'SyntaxError: Cannot use import statement outside a module\n' +
      '    at new Script (node:vm:100:7)\n' +
      '    at Runtime.createScriptFromCode (./node_modules/jest-runtime/build/index.js:1505:14)\n' +
      '    at Runtime._execModule (./node_modules/jest-runtime/build/index.js:1399:25)\n' +
      '    at Runtime._loadModule (./node_modules/jest-runtime/build/index.js:1022:12)\n' +
      '    at Runtime.requireModule (./node_modules/jest-runtime/build/index.js:882:12)\n' +
      '    at jestAdapter (./node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n' +
      '    at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' +
      '    at async runTestInternal (./node_modules/jest-runner/build/runTest.js:367:16)\n' +
      '    at async runTest (./node_modules/jest-runner/build/runTest.js:444:34)\n',
    '2024-03-10T11:47:28.448Z workers [30cle] Run 0 test(s), skipped 0 test(s)\n',
    '2024-03-10T11:47:28.454Z workers Jest Test Run Complete (30cle): 2024-03-10T11:47:28.430Z\n',
    '2024-03-10T11:47:28.454Z workers [30cle] Sandbox is responsive, closing it\n',
    '2024-03-10T11:47:28.487Z workers Scheduling Jest Test Run (xzri9): 2024-03-10T11:47:27.491Z\n',
    '2024-03-10T11:47:28.490Z workers Sandbox (active) [xzri9] 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' +
      './node_modules/verdaccio-audit/tests/audit.spec.ts:1\n' +
      `({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){import express from 'express';\n` +
      '                                                                                  ^^^^^^\n' +
      '\n' +
      'SyntaxError: Cannot use import statement outside a module\n' +
      '    at new Script (node:vm:100:7)\n' +
      '    at Runtime.createScriptFromCode (./node_modules/jest-runtime/build/index.js:1505:14)\n' +
      '    at Runtime._execModule (./node_modules/jest-runtime/build/index.js:1399:25)\n' +
      '    at Runtime._loadModule (./node_modules/jest-runtime/build/index.js:1022:12)\n' +
      '    at Runtime.requireModule (./node_modules/jest-runtime/build/index.js:882:12)\n' +
      '    at jestAdapter (./node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n' +
      '    at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' +
      '    at async runTestInternal (./node_modules/jest-runner/build/runTest.js:367:16)\n' +
      '    at async runTest (./node_modules/jest-runner/build/runTest.js:444:34)\n',
    '2024-03-10T11:47:28.499Z workers [xzri9] Run 0 test(s), skipped 0 test(s)\n',
    '2024-03-10T11:47:28.511Z workers Jest Test Run Complete (xzri9): 2024-03-10T11:47:28.481Z\n',
    '2024-03-10T11:47:28.512Z workers [xzri9] Sandbox is responsive, closing it\n',
    '2024-03-10T11:47:28.512Z workers Merging parallel test run results\n',
    '2024-03-10T11:47:28.512Z project Test run finished\n',
    '2024-03-10T11:47:28.513Z project Processed console.log entries\n',
    '2024-03-10T11:47:28.513Z project Processed loading sequences\n',
    '2024-03-10T11:47:28.513Z project Processed executed tests\n',
    '2024-03-10T11:47:28.513Z project Processed code coverage\n',
    '2024-03-10T11:47:28.518Z project Test run result processed and sent to IDE\n',
    '2024-03-10T11:47:28.544Z project Test run started; run priority: 2\n',
    '2024-03-10T11:47:28.544Z testTask Test files from affected: 39, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
    '2024-03-10T11:47:28.545Z workers Starting test run, priority: 2\n',
    '2024-03-10T11:47:28.545Z workers Distributing tests between 4 workers\n',
    '2024-03-10T11:47:28.545Z workers Running tests in parallel\n',
    '2024-03-10T11:47:28.545Z nodeRunner Starting sandbox [worker #0, session #hgh8o]\n',
    '2024-03-10T11:47:28.545Z nodeRunner Starting sandbox [worker #1, session #2b8r9]\n',
    '2024-03-10T11:47:28.545Z nodeRunner Starting sandbox [worker #2, session #gkeum]\n',
    '2024-03-10T11:47:28.545Z nodeRunner Starting sandbox [worker #3, session #6q8fq]\n',
    '2024-03-10T11:47:28.545Z nodeRunner Preparing sandbox [worker #0, session #hgh8o]\n',
    '2024-03-10T11:47:28.546Z nodeRunner Preparing sandbox [worker #1, session #2b8r9]\n',
    '2024-03-10T11:47:28.546Z nodeRunner Preparing sandbox [worker #2, session #gkeum]\n',
    '2024-03-10T11:47:28.546Z nodeRunner Preparing sandbox [worker #3, session #6q8fq]\n',
    '2024-03-10T11:47:28.546Z nodeRunner Prepared sandbox [worker #0, session #hgh8o]\n',
    '2024-03-10T11:47:28.546Z nodeRunner Prepared sandbox [worker #1, session #2b8r9]\n',
    '2024-03-10T11:47:28.546Z nodeRunner Prepared sandbox [worker #2, session #gkeum]\n',
    '2024-03-10T11:47:28.546Z nodeRunner Prepared sandbox [worker #3, session #6q8fq]\n',
    '2024-03-10T11:47:28.546Z workers [worker #0, session #hgh8o] Running tests in sandbox\n',
    '2024-03-10T11:47:28.546Z workers [worker #1, session #2b8r9] Running tests in sandbox\n',
    '2024-03-10T11:47:28.546Z workers [worker #2, session #gkeum] Running tests in sandbox\n',
    '2024-03-10T11:47:28.546Z workers [worker #3, session #6q8fq] Running tests in sandbox\n',
    '2024-03-10T11:47:28.734Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-03-10T11:47:28.734Z project Test run was cancelled\n',
    '2024-03-10T11:47:28.734Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-03-10T11:47:28.734Z project Test run was cancelled\n',
    '2024-03-10T11:47:28.746Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-03-10T11:47:28.746Z project Test run was cancelled\n',
    '2024-03-10T11:47:28.747Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-03-10T11:47:28.747Z project Test run was cancelled\n'
  ]
}
@mburnell
Copy link
Member

Thanks for reporting the issue. Your diagnostics report shows you're running the latest WebStorm and Wallaby plugin versions, but that your Wallaby core version is quite out of date (1345 is from Nov 2022). This is pretty unusual; core should update itself whenever Wallaby starts. Perhaps something is blocking the updates? You could try following the Installing from Scratch section for Offline Installation for JetBrains IDEs at https://wallabyjs.com/docs/intro/offline.html. Could you please try updating to 1534 (the latest at time of writing) or later and see if the problem is still present?

@smcenlly
Copy link
Member

Closing this issue, assuming that updating to the latest version fixed your problem.

If you're still having troubles, please reply to this issue and we'll reopen it.

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

No branches or pull requests

3 participants