wallabyjs / public

Repository for Wallaby.js questions and issues
http://wallabyjs.com
760 stars 45 forks source link

Wallaby runs, but no tests execute after Angular 12 upgrade #2848

Closed jkyoutsey closed 3 years ago

jkyoutsey commented 3 years ago

Issue description or question

I'm using automatic configuration, jasmine/karma, and when I fire off wallaby it doesn't run any tests and doesn't give me any output in the OUTPUT/Wallaby.js Tests pane. The output in the OUTPUT/Wallaby.js Console pane is this:

‍​[Info]​ Started Wallaby.js Core v1.0.1175
​[Info]​ - Generating browser application bundles (phase: setup)...

The progress indicator at the bottom left continues to run.

Wallaby diagnostics report

{
  editorVersion: '1.62.0',
  pluginVersion: '1.0.317',
  editorType: 'VSCode',
  osVersion: 'darwin 21.1.0',
  nodeVersion: 'v14.15.1',
  coreVersion: '1.0.1175',
  checksum: 'MWM5MWM3NjY3ZWY1ZTQ5ZDNiNGFjYjljMDFlZWNlOWQsMTY2MjE2MzIwMDAwMCww',
  config: {
    diagnostics: {
      angular: {
        workspace: {
          '$schema': './node_modules/@angular/cli/lib/config/schema.json',
          version: 1,
          newProjectRoot: 'projects',
          projects: {
            mms: {
              root: '',
              sourceRoot: 'src',
              projectType: 'application',
              prefix: 'mms',
              schematics: {
                '@schematics/angular:component': { style: 'scss', changeDetection: 'OnPush', lintFix: true },
                '@ngrx/schematics:component': { style: 'scss', changeDetection: 'OnPush', lintFix: true }
              },
              architect: {
                build: {
                  builder: '@angular-devkit/build-angular:browser',
                  options: {
                    outputPath: 'dist/mms',
                    index: 'src/index.html',
                    main: 'src/main.ts',
                    polyfills: 'src/polyfills.ts',
                    tsConfig: 'src/tsconfig.app.json',
                    assets: [ 'src/favicon.ico', 'src/assets', 'src/web.config', 'src/manifest.json', 'src/browser.html' ],
                    styles: [ 'src/styles.scss', 'src/assets/scss/dragula/dragula.css', 'src/assets/libs/hopscotch/css/hopscotch.css', 'src/assets/scss/site.scss' ],
                    scripts: [ 'src/assets/libs/hopscotch/js/hopscotch.js', 'src/assets/libs/bitmovin-loader.js' ],
                    allowedCommonJsDependencies: [ 'lodash', 'ng2-dragula', 'subsink', 'hammerjs/hammer', 'file-saver', 'dragula' ],
                    vendorChunk: true,
                    extractLicenses: false,
                    buildOptimizer: false,
                    sourceMap: true,
                    optimization: false,
                    namedChunks: true
                  },
                  configurations: {
                    devdeploy: {
                      budgets: [ { type: 'anyComponentStyle', maximumWarning: '6kb' } ],
                      fileReplacements: [ { replace: 'src/environments/environment.ts', with: 'src/environments/DO_NOT_IMPORT.ENVIRONMENT.DEVDEPLOY.ts' } ],
                      outputHashing: 'all',
                      sourceMap: false,
                      namedChunks: false,
                      extractLicenses: true,
                      vendorChunk: false,
                      buildOptimizer: true,
                      serviceWorker: true,
                      ngswConfigPath: 'src/ngsw-config.json'
                    },
                    production: {
                      budgets: [ { type: 'anyComponentStyle', maximumWarning: '13kb' } ],
                      fileReplacements: [ { replace: 'src/environments/environment.ts', with: 'src/environments/DO_NOT_IMPORT.ENVIRONMENT.PROD.ts' } ],
                      optimization: true,
                      outputHashing: 'all',
                      sourceMap: false,
                      namedChunks: false,
                      extractLicenses: true,
                      vendorChunk: false,
                      buildOptimizer: true,
                      serviceWorker: true,
                      ngswConfigPath: 'src/ngsw-config.json'
                    },
                    staging: {
                      budgets: [ { type: 'anyComponentStyle', maximumWarning: '13kb' } ],
                      fileReplacements: [ { replace: 'src/environments/environment.ts', with: 'src/environments/DO_NOT_IMPORT.ENVIRONMENT.STAGING.ts' } ],
                      optimization: true,
                      outputHashing: 'all',
                      sourceMap: false,
                      namedChunks: false,
                      extractLicenses: true,
                      vendorChunk: false,
                      buildOptimizer: true,
                      serviceWorker: true,
                      ngswConfigPath: 'src/ngsw-config.json'
                    }
                  },
                  defaultConfiguration: ''
                },
                serve: {
                  builder: '@angular-devkit/build-angular:dev-server',
                  options: { browserTarget: 'mms:build', proxyConfig: 'proxy.conf.json' },
                  configurations: { production: { browserTarget: 'mms:build:production' }, staging: { browserTarget: 'mms:build:staging' } }
                },
                'serve-local': { builder: '@angular-devkit/build-angular:dev-server', options: { browserTarget: 'mms:build', proxyConfig: 'proxy.conf.local.json' } },
                'extract-i18n': { builder: '@angular-devkit/build-angular:extract-i18n', options: { browserTarget: 'mms:build' } },
                test: {
                  builder: '@angular-devkit/build-angular:karma',
                  options: {
                    main: 'src/test.ts',
                    polyfills: 'src/polyfills.ts',
                    tsConfig: 'src/tsconfig.spec.json',
                    karmaConfig: 'src/karma.conf.js',
                    styles: [ 'src/styles.scss' ],
                    scripts: [],
                    assets: [ 'src/favicon.ico', 'src/assets', 'src/web.config', 'src/manifest.json' ],
                    codeCoverageExclude: [ '**/*.mock.ts', '**/*.module.ts' ],
                    fileReplacements: [ { replace: 'src/environments/environment.ts', with: 'src/environments/DO_NOT_IMPORT.ENVIRONMENT.UNITTESTING.ts' } ]
                  },
                  configurations: { production: { karmaConfig: 'src/karma.conf.prod.js' } }
                },
                lint: { builder: '@angular-eslint/builder:lint', options: { lintFilePatterns: [ 'src/**/*.ts', 'src/**/*.html' ] } }
              }
            }
          },
          defaultProject: 'mms',
          schematics: { '@ngrx/schematics:component': { styleext: 'scss', changeDetection: 'OnPush', lintFix: true } },
          cli: { defaultCollection: '@ngrx/schematics', analytics: '7773f977-d812-420b-bf64-2152c4ebec57' }
        },
        main: '// This file is required by karma.conf.js and loads recursively all the .spec and framework files\n' +
          "import 'zone.js/dist/long-stack-trace-zone';\n" +
          "import 'zone.js/dist/proxy.js';\n" +
          "import 'zone.js/dist/sync-test';\n" +
          "import 'zone.js/dist/jasmine-patch';\n" +
          "import 'zone.js/dist/async-test';\n" +
          "import 'zone.js/dist/fake-async-test';\n" +
          "import { getTestBed } from '@angular/core/testing';\n" +
          "import { BrowserDynamicTestingModule, platformBrowserDynamicTesting } from '@angular/platform-browser-dynamic/testing';\n" +
          '\n' +
          "// Unfortunately there's no typing for the `__karma__` variable. Just declare it as any.\n" +
          "const karma: any = window['__karma__'];\n" +
          '\n' +
          'declare const require: any;\n' +
          '// Prevent Karma from running prematurely.\n' +
          'if (karma) {\n' +
          '\tkarma.loaded = () => {};\n' +
          '}\n' +
          '\n' +
          '// First, initialize the Angular testing environment.\n' +
          'getTestBed().initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting());\n' +
          '// Then we find all the tests.\n' +
          '\n' +
          '// And load the modules.\n' +
          '\n' +
          '// Finally, start Karma to run the tests.\n' +
          'if (karma) {\n' +
          '\tkarma.start();\n' +
          '}\n'
      }
    },
    testFramework: { version: 'jasmine@3.10.0', configurator: 'jasmine@2.1.3', reporter: 'jasmine@2.1.3', starter: 'jasmine@2.1.3', autoDetected: true },
    env: { kind: 'chrome', type: 'browser', params: {}, viewportSize: { width: 800, height: 600 }, options: { width: 800, height: 600 }, bundle: true },
    files: [
      { pattern: 'src/**/*.spec.ts', ignore: true, trigger: true, load: true },
      { pattern: 'src/polyfills.ts', ignore: true, trigger: true, load: true },
      { pattern: 'src/test.ts', ignore: true, trigger: true, load: true },
      { pattern: 'src/main.ts', ignore: true, trigger: true, load: true },
      { pattern: 'src/index.html', ignore: true, trigger: true, load: true },
      { pattern: 'src/test.base.ts', ignore: true, trigger: true, load: true },
      { pattern: 'src/test.wallaby.ts', ignore: false, trigger: true, load: true, order: 1 },
      { pattern: 'src/**/*.+(ts|js)', load: false, ignore: false, trigger: true, order: 2 },
      { pattern: 'src/**/*.+(css|less|scss|sass|styl|html|json|svg)', instrument: false, load: false, ignore: false, trigger: true, order: 3 }
    ],
    tests: [ { pattern: 'src/**/*.spec.ts', load: false, ignore: false, trigger: true, test: true, order: 4 } ],
    filesWithNoCoverageCalculated: [],
    runAllTestsInAffectedTestFile: false,
    updateNoMoreThanOneSnapshotPerTestFileRun: false,
    addModifiedTestFileToExclusiveTestRun: true,
    compilers: {},
    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: {},
    reportUnhandledPromises: false,
    throwOnBeforeUnload: true,
    slowTestThreshold: 75,
    lowCoverageThreshold: 80,
    loose: true,
    configCode: 'auto.detect#1313788472'
  },
  packageJSON: {
    dependencies: {
      '@angular-devkit/core': '^12.2.13',
      '@angular/animations': '^12.2.13',
      '@angular/cdk': '~12.2.12',
      '@angular/common': '^12.2.13',
      '@angular/compiler': '^12.2.13',
      '@angular/core': '^12.2.13',
      '@angular/forms': '^12.2.13',
      '@angular/material': '^12.2.12',
      '@angular/material-moment-adapter': '^12.2.12',
      '@angular/platform-browser': '^12.2.13',
      '@angular/platform-browser-dynamic': '^12.2.13',
      '@angular/router': '^12.2.13',
      '@angular/service-worker': '^12.2.13',
      '@ngrx/data': '^12.5.1',
      '@ngrx/effects': '^12.5.1',
      '@ngrx/entity': '^12.5.1',
      '@ngrx/store': '^12.5.1',
      '@ngrx/store-devtools': '^12.5.1',
      '@types/hammerjs': '^2.0.40',
      'blob-util': '^2.0.2',
      'configcat-js': '5.6.0',
      'core-js': '^2.6.1',
      'file-saver': '^2.0.5',
      hammerjs: '^2.0.8',
      'http-server': '^14.0.0',
      lodash: '^4.17.21',
      mocha: '^7.1.2',
      'mocha-teamcity-reporter': '^3.0.0',
      moment: '^2.29.1',
      'ng-swipe': '^1.0.5',
      'ng2-dragula': '^2.1.1',
      'ngx-cookie-service': '^13.0.0',
      'ngx-infinite-scroll': '^10.0.1',
      'reflect-metadata': '^0.1.13',
      rxjs: '^7.4.0',
      subsink: '^1.0.2',
      tslib: '^2.0.3',
      'zone.js': '~0.11.4'
    },
    devDependencies: {
      '@angular-devkit/build-angular': '~12.2.13',
      '@angular-eslint/builder': '12.6.1',
      '@angular-eslint/eslint-plugin': '12.6.1',
      '@angular-eslint/eslint-plugin-template': '12.6.1',
      '@angular-eslint/schematics': '12.6.1',
      '@angular-eslint/template-parser': '12.6.1',
      '@angular/cli': '^12.2.13',
      '@angular/compiler-cli': '^12.2.13',
      '@angular/language-service': '^12.2.13',
      '@ngrx/schematics': '^12.5.1',
      '@types/jasmine': '~3.8.0',
      '@types/jasminewd2': '~2.0.8',
      '@types/lodash': '^4.14.149',
      '@types/node': '^12.11.1',
      '@typescript-eslint/eslint-plugin': '4.28.2',
      '@typescript-eslint/parser': '4.28.2',
      'angular2-template-loader': '^0.6.2',
      cypress: '^5.3.0',
      'cypress-file-upload': '^4.1.1',
      'cypress-teamcity-reporter': '^3.0.0',
      eslint: '^7.26.0',
      'eslint-plugin-import': '2.25.2',
      'eslint-plugin-jsdoc': '37.0.3',
      'eslint-plugin-prefer-arrow': '1.2.3',
      'jasmine-core': '~3.8.0',
      'jasmine-marbles': '^0.9.0',
      'jasmine-reporters': '^2.3.2',
      'jasmine-spec-reporter': '~5.0.0',
      karma: '~6.3.7',
      'karma-chrome-launcher': '~3.1.0',
      'karma-cli': '~1.0.1',
      'karma-coverage': '^2.0.3',
      'karma-jasmine': '~4.0.0',
      'karma-jasmine-html-reporter': '^1.7.0',
      'karma-spec-reporter': '0.0.32',
      'karma-teamcity-reporter': '^1.1.0',
      'ng-mocks': '^12.5.0',
      'ngx-spec': '^2.1.4',
      prettier: '^2.4.1',
      'start-server-and-test': '^1.11.3',
      'ts-node': '~7.0.1',
      typescript: '~4.3.5',
      'wallaby-webpack': '^3.9.16'
    }
  },
  fs: { numberOfFiles: 2664 },
  debug: [
    '2021-11-05T12:28:32.197Z angular/cli config Detected Angular CLI.\n',
    '2021-11-05T12:28:38.068Z angular/cli karma project config Using virtual <homeDir>/src/MyMedstudy/ng/src/test.ts.\n',
    '2021-11-05T12:28:38.101Z project Wallaby Node version: v14.15.1\n',
    '2021-11-05T12:28:38.101Z project Wallaby config: <homeDir>/src/MyMedstudy/ng/auto.detect\n',
    '2021-11-05T12:28:38.853Z project File cache: <homeDir>/.vscode/extensions/wallabyjs.wallaby-vscode-1.0.317/projects/3fc9126d5c3e7694\n',
    '2021-11-05T12:28:38.990Z uiService Listening port 51235\n',
    '2021-11-05T12:28:39.150Z workers Parallelism for initial run: 10, for regular run: 5\n',
    '2021-11-05T12:28:39.150Z workers Starting run worker instance #0\n',
    '2021-11-05T12:28:39.150Z workers Starting run worker instance #1\n',
    '2021-11-05T12:28:39.150Z workers Starting run worker instance #2\n',
    '2021-11-05T12:28:39.150Z workers Starting run worker instance #3\n',
    '2021-11-05T12:28:39.150Z workers Starting run worker instance #4\n',
    '2021-11-05T12:28:39.150Z workers Starting run worker instance #5\n',
    '2021-11-05T12:28:39.150Z workers Starting run worker instance #6\n',
    '2021-11-05T12:28:39.150Z workers Starting run worker instance #7\n',
    '2021-11-05T12:28:39.150Z workers Starting run worker instance #8\n',
    '2021-11-05T12:28:39.150Z workers Starting run worker instance #9\n',
    '2021-11-05T12:28:39.153Z workers Web server is listening at 59598\n',
    '2021-11-05T12:28:39.174Z project Stopping process pool\n',
    '2021-11-05T12:28:39.174Z project File cache is up-to-date, starting full test run\n',
    '2021-11-05T12:28:39.177Z project Running postprocessor\n',
    '2021-11-05T12:28:39.213Z postprocessor Processing started.\n',
    '2021-11-05T12:28:39.213Z postprocessor Initializing.\n',
    '2021-11-05T12:28:39.216Z postprocessor Initializing entry.\n',
    '2021-11-05T12:28:39.216Z postprocessor Sanitizing configuration.\n',
    '2021-11-05T12:28:39.216Z postprocessor Adjusting configuration.\n',
    '2021-11-05T12:28:39.219Z postprocessor Creating compiler.\n',
    '2021-11-05T12:28:39.412Z postprocessor Customizing compiler.\n',
    '2021-11-05T12:28:39.412Z postprocessor Compilation started.\n',
    '2021-11-05T12:28:57.297Z workers Started run worker instance (immediate) #0\n',
    '2021-11-05T12:28:57.297Z workers Started run worker instance (immediate) #1\n',
    '2021-11-05T12:28:57.297Z workers Started run worker instance (immediate) #2\n',
    '2021-11-05T12:28:57.297Z workers Started run worker instance (immediate) #3\n',
    '2021-11-05T12:28:57.297Z workers Started run worker instance (immediate) #4\n',
    '2021-11-05T12:28:57.297Z workers Started run worker instance (immediate) #5\n',
    '2021-11-05T12:28:57.297Z workers Started run worker instance (immediate) #6\n',
    '2021-11-05T12:28:57.298Z workers Started run worker instance (immediate) #7\n',
    '2021-11-05T12:28:57.298Z workers Started run worker instance (immediate) #8\n',
    '2021-11-05T12:28:57.298Z workers Started run worker instance (immediate) #9\n',
    '2021-11-05T12:29:40.008Z postprocessor Compilation finished.\n',
    '2021-11-05T12:29:45.284Z postprocessor Emitting 2838 files.\n',
    '2021-11-05T12:29:45.974Z postprocessor Processing finished.\n',
    '2021-11-05T12:29:46.141Z project Postprocessor execution finished\n',
    '2021-11-05T12:29:46.142Z project Test run started; run priority: 3\n',
    '2021-11-05T12:29:46.163Z project Running all tests\n',
    '2021-11-05T12:29:46.237Z workers Starting test run, priority: 3\n',
    '2021-11-05T12:29:46.237Z workers Distributing tests between 10 workers\n',
    '2021-11-05T12:29:46.244Z workers Running tests in parallel\n',
    '2021-11-05T12:29:46.244Z chromeRunner Starting sandbox [worker #0, session #a8om1]\n',
    '2021-11-05T12:29:46.244Z chromeRunner Starting sandbox [worker #1, session #rqizz]\n',
    '2021-11-05T12:29:46.244Z chromeRunner Starting sandbox [worker #2, session #t5n9c]\n',
    '2021-11-05T12:29:46.244Z chromeRunner Starting sandbox [worker #3, session #nk2q6]\n',
    '2021-11-05T12:29:46.244Z chromeRunner Starting sandbox [worker #4, session #7y8u2]\n',
    '2021-11-05T12:29:46.244Z chromeRunner Starting sandbox [worker #5, session #cnbxb]\n',
    '2021-11-05T12:29:46.244Z chromeRunner Starting sandbox [worker #6, session #5lapx]\n',
    '2021-11-05T12:29:46.244Z chromeRunner Starting sandbox [worker #7, session #8m6tm]\n',
    '2021-11-05T12:29:46.244Z chromeRunner Starting sandbox [worker #8, session #dthvh]\n',
    '2021-11-05T12:29:46.244Z chromeRunner Starting sandbox [worker #9, session #qvdtf]\n',
    '2021-11-05T12:29:46.244Z chromeRunner Preparing sandbox [worker #0, session #a8om1]\n',
    '2021-11-05T12:29:46.252Z browserRunner Total files to load in sandbox: 58\n',
    '2021-11-05T12:29:46.260Z browserRunner Sandbox is generated [worker #0, session #a8om1]: http://localhost:59598/wallaby_sandbox0.html\n',
    '2021-11-05T12:29:46.260Z chromeRunner Preparing sandbox [worker #1, session #rqizz]\n',
    '2021-11-05T12:29:46.265Z browserRunner Total files to load in sandbox: 59\n',
    '2021-11-05T12:29:46.273Z browserRunner Sandbox is generated [worker #1, session #rqizz]: http://localhost:59598/wallaby_sandbox1.html\n',
    '2021-11-05T12:29:46.273Z chromeRunner Preparing sandbox [worker #2, session #t5n9c]\n',
    '2021-11-05T12:29:46.277Z browserRunner Total files to load in sandbox: 58\n',
    '2021-11-05T12:29:46.282Z browserRunner Sandbox is generated [worker #2, session #t5n9c]: http://localhost:59598/wallaby_sandbox2.html\n',
    '2021-11-05T12:29:46.282Z chromeRunner Preparing sandbox [worker #3, session #nk2q6]\n',
    '2021-11-05T12:29:46.285Z browserRunner Total files to load in sandbox: 58\n',
    '2021-11-05T12:29:46.291Z browserRunner Sandbox is generated [worker #3, session #nk2q6]: http://localhost:59598/wallaby_sandbox3.html\n',
    '2021-11-05T12:29:46.291Z chromeRunner Preparing sandbox [worker #4, session #7y8u2]\n',
    '2021-11-05T12:29:46.305Z browserRunner Total files to load in sandbox: 59\n',
    '2021-11-05T12:29:46.310Z browserRunner Sandbox is generated [worker #4, session #7y8u2]: http://localhost:59598/wallaby_sandbox4.html\n',
    '2021-11-05T12:29:46.310Z chromeRunner Preparing sandbox [worker #5, session #cnbxb]\n',
    '2021-11-05T12:29:46.313Z browserRunner Total files to load in sandbox: 58\n',
    '2021-11-05T12:29:46.318Z browserRunner Sandbox is generated [worker #5, session #cnbxb]: http://localhost:59598/wallaby_sandbox5.html\n',
    '2021-11-05T12:29:46.318Z chromeRunner Preparing sandbox [worker #6, session #5lapx]\n',
    '2021-11-05T12:29:46.321Z browserRunner Total files to load in sandbox: 58\n',
    '2021-11-05T12:29:46.326Z browserRunner Sandbox is generated [worker #6, session #5lapx]: http://localhost:59598/wallaby_sandbox6.html\n',
    '2021-11-05T12:29:46.326Z chromeRunner Preparing sandbox [worker #7, session #8m6tm]\n',
    '2021-11-05T12:29:46.330Z browserRunner Total files to load in sandbox: 58\n',
    '2021-11-05T12:29:46.334Z browserRunner Sandbox is generated [worker #7, session #8m6tm]: http://localhost:59598/wallaby_sandbox7.html\n',
    '2021-11-05T12:29:46.334Z chromeRunner Preparing sandbox [worker #8, session #dthvh]\n',
    '2021-11-05T12:29:46.337Z browserRunner Total files to load in sandbox: 58\n',
    '2021-11-05T12:29:46.341Z browserRunner Sandbox is generated [worker #8, session #dthvh]: http://localhost:59598/wallaby_sandbox8.html\n',
    '2021-11-05T12:29:46.341Z chromeRunner Preparing sandbox [worker #9, session #qvdtf]\n',
    '2021-11-05T12:29:46.344Z browserRunner Total files to load in sandbox: 58\n',
    '2021-11-05T12:29:46.357Z browserRunner Sandbox is generated [worker #9, session #qvdtf]: http://localhost:59598/wallaby_sandbox9.html\n',
    '2021-11-05T12:29:46.357Z chromeRunner Prepared sandbox [worker #0, session #a8om1]\n',
    '2021-11-05T12:29:46.357Z chromeRunner Prepared sandbox [worker #1, session #rqizz]\n',
    '2021-11-05T12:29:46.357Z chromeRunner Prepared sandbox [worker #2, session #t5n9c]\n',
    '2021-11-05T12:29:46.357Z chromeRunner Prepared sandbox [worker #3, session #nk2q6]\n',
    '2021-11-05T12:29:46.357Z chromeRunner Prepared sandbox [worker #4, session #7y8u2]\n',
    '2021-11-05T12:29:46.357Z chromeRunner Prepared sandbox [worker #5, session #cnbxb]\n',
    '2021-11-05T12:29:46.357Z chromeRunner Prepared sandbox [worker #6, session #5lapx]\n',
    '2021-11-05T12:29:46.357Z chromeRunner Prepared sandbox [worker #7, session #8m6tm]\n',
    '2021-11-05T12:29:46.357Z chromeRunner Prepared sandbox [worker #8, session #dthvh]\n',
    '2021-11-05T12:29:46.357Z chromeRunner Prepared sandbox [worker #9, session #qvdtf]\n',
    '2021-11-05T12:29:46.358Z workers [worker #0, session #a8om1] Running tests in sandbox\n',
    '2021-11-05T12:29:46.359Z workers [worker #1, session #rqizz] Running tests in sandbox\n',
    '2021-11-05T12:29:46.359Z workers [worker #2, session #t5n9c] Running tests in sandbox\n',
    '2021-11-05T12:29:46.359Z workers [worker #3, session #nk2q6] Running tests in sandbox\n',
    '2021-11-05T12:29:46.360Z workers [worker #4, session #7y8u2] Running tests in sandbox\n',
    '2021-11-05T12:29:46.360Z workers [worker #5, session #cnbxb] Running tests in sandbox\n',
    '2021-11-05T12:29:46.360Z workers [worker #6, session #5lapx] Running tests in sandbox\n',
    '2021-11-05T12:29:46.360Z workers [worker #7, session #8m6tm] Running tests in sandbox\n',
    '2021-11-05T12:29:46.360Z workers [worker #8, session #dthvh] Running tests in sandbox\n',
    '2021-11-05T12:29:46.361Z workers [worker #9, session #qvdtf] Running tests in sandbox\n'
  ]
}
NikGovorov commented 3 years ago

Hi @jkyoutsey,

Please try the solution from https://github.com/wallabyjs/public/issues/2748.

jkyoutsey commented 3 years ago

@NikGovorov I already have import 'zone.js'; in polyfills.ts In test.ts I have these:

import 'zone.js/dist/long-stack-trace-zone';
import 'zone.js/dist/proxy.js';
import 'zone.js/dist/sync-test';
import 'zone.js/dist/jasmine-patch';
import 'zone.js/dist/async-test';
import 'zone.js/dist/fake-async-test';

So, I'm not entirely sure what exactly to replace.

jkyoutsey commented 3 years ago

@NikGovorov I found it. I created a new ng 12 app and compared the test.ts and polyfills.ts files. That got me working. Thank you! Perfect solution.