wallabyjs / public

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

TypeError: Cannot set property '0' of undefined (Sluggish Performance) #2373

Closed michael-golden closed 4 years ago

michael-golden commented 4 years ago

Issue description or question

Wallaby stops running tests / and test runs take several (30-60) seconds to complete. After modifying a single test, the test doesn't auto re-evaluate. I have to manually re-run

Wallaby diagnostics report

{ editorVersion: '1.43.1',
  pluginVersion: '1.0.184',
  editorType: 'VSCode',
  osVersion: 'win32 10.0.18362',
  nodeVersion: 'v11.9.0',
  coreVersion: '1.0.869',
  config:
   { diagnostics: {},
     testFramework: { version: 'jest@24.8.0', configurator: 'jest@24.8.0', reporter: 'jest@24.8.0', starter: 'jest@24.8.0', autoDetected: true },
     filesWithCoverageCalculated: [],
     micromatch: true,
     files:
      [ { pattern: '\\\\node_modules\\\\', regexp: /\\node_modules\\/, ignore: true, trigger: true, load: true },
        { pattern: 'dist\\\\|build\\\\|coverage\\\\|\\\\\\.cache\\\\|\\\\\\.idea\\\\|\\\\\\.vscode\\\\|\\\\\\.git\\\\|\\\\\\.gitlab\\\\',
          regexp: /dist\\|build\\|coverage\\|\\\.cache\\|\\\.idea\\|\\\.vscode\\|\\\.git\\|\\\.gitlab\\/,
          ignore: true,
          trigger: true,
          load: true },
        { pattern: '**/**', ignore: false, trigger: true, load: true, order: 1 },
        { pattern: '**/+(*.)+(spec|test).+(ts|js)?(x)', ignore: true, trigger: true, load: true } ],
     tests:
      [ { pattern: '\\\\node_modules\\\\', regexp: /\\node_modules\\/, ignore: true, trigger: true, load: true, test: true },
        { pattern: 'dist\\\\|build\\\\|coverage\\\\|\\\\\\.cache\\\\|\\\\\\.idea\\\\|\\\\\\.vscode\\\\|\\\\\\.git\\\\|\\\\\\.gitlab\\\\',
          regexp: /dist\\|build\\|coverage\\|\\\.cache\\|\\\.idea\\|\\\.vscode\\|\\\.git\\|\\\.gitlab\\/,
          ignore: true,
          trigger: true,
          load: true,
          test: true },
        { pattern: '**/+(*.)+(spec|test).+(ts|js)?(x)', ignore: false, trigger: true, load: true, test: true, order: 2 } ],
     filesWithNoCoverageCalculated: [],
     runAllTestsInAffectedTestFile: false,
     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,
     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,
     loose: true,
     configCode: 'auto.detect#2041082197' },
  packageJSON:
   { dependencies:
      { '@godaddy/terminus': '^4.2.1',
        '@hapi/joi': '^16.1.7',
        '@nestjs/common': '^6.8.3',
        '@nestjs/core': '^6.8.3',
        '@nestjs/jwt': '^6.1.1',
        '@nestjs/passport': '^6.1.1',
        '@nestjs/platform-express': '^6.8.3',
        '@nestjs/swagger': '^3.1.0',
        '@nestjs/terminus': '^6.5.2',
        '@nrwl/cli': '^8.7.0',
        '@types/body-parser-xml': '^1.1.0',
        '@types/lodash': '^4.14.149',
        'amazon-s3-uri': '0.0.3',
        'automapper-ts': '^1.9.0',
        'aws-lambda': '^1.0.5',
        'aws-sdk': '^2.596.0',
        axios: '^0.19.1',
        'body-parser': '^1.19.0',
        'body-parser-xml': '^1.1.0',
        chalk: '^2.4.2',
        'class-transformer': '^0.2.3',
        'class-validator': '^0.11.0',
        commander: '^3.0.2',
        'fork-ts-checker-webpack-plugin': '^3.1.1',
        moment: '^2.24.0',
        mysql: '^2.17.1',
        'nest-emitter': '^1.1.0',
        passport: '^0.4.1',
        'passport-jwt': '^4.0.0',
        'passport-local': '^1.0.0',
        'reflect-metadata': '^0.1.13',
        'swagger-ui-express': '^4.1.2',
        thinid: '^0.5.5',
        'ts-loader': '^6.2.1',
        'tslint-lines-between-class-members': '^1.3.6' },
     devDependencies:
      { '@nestjs/schematics': '^6.7.0',
        '@nestjs/testing': '^6.8.3',
        '@nrwl/eslint-plugin-nx': '9.0.4',
        '@nrwl/jest': '9.0.4',
        '@nrwl/nest': '9.0.4',
        '@nrwl/node': '9.0.4',
        '@nrwl/tao': '9.0.4',
        '@nrwl/workspace': '9.0.4',
        '@types/aws-lambda': '^8.10.39',
        '@types/jest': '24.0.9',
        '@types/node': '^11.13.4',
        '@types/passport-jwt': '^3.0.3',
        '@typescript-eslint/eslint-plugin': '2.3.2',
        '@typescript-eslint/parser': '2.3.2',
        dotenv: '^6.2.0',
        eslint: '6.1.0',
        'eslint-config-prettier': '6.0.0',
        jest: '24.1.0',
        'jest-mock-extended': '^1.0.8',
        prettier: '1.18.2',
        serverless: '^1.61.1',
        'serverless-webpack': '^5.3.1',
        'ts-jest': '24.0.2',
        'ts-node': '^8.1.0',
        'tsc-watch': '2.2.1',
        'tsconfig-paths': '3.8.0',
        'tsconfig-paths-webpack-plugin': '^3.2.0',
        tslint: '~5.11.0',
        typeorm: '^0.2.19',
        typescript: '3.7.5' } },
  fs: { numberOfFiles: 759 },
  debug:
   [ '2020-03-24T19:15:42.088Z config Detected Jest.\n',
     '2020-03-24T19:15:42.089Z config Configured Jest.\n',
     '2020-03-24T19:15:42.091Z project Wallaby Node version: v11.9.0\n',
     '2020-03-24T19:15:42.091Z project Wallaby config: C:\\Repos\\pa\\pa_service_api\\auto.detect\n',
     '2020-03-24T19:15:43.371Z project File cache: C:\\Users\\Gamer\\.vscode\\extensions\\wallabyjs.wallaby-vscode-1.0.184\\projects\\28ab5eec4a8c7e05\n',
     '2020-03-24T19:15:43.418Z uiService Listening port 51235\n',
     '2020-03-24T19:15:43.467Z workers Parallelism for initial run: 10, for regular run: 5\n',
     '2020-03-24T19:15:43.467Z workers Starting run worker instance #0\n',
     '2020-03-24T19:15:43.467Z workers Starting run worker instance #1\n',
     '2020-03-24T19:15:43.467Z workers Starting run worker instance #2\n',
     '2020-03-24T19:15:43.467Z workers Starting run worker instance #3\n',
     '2020-03-24T19:15:43.467Z workers Starting run worker instance #4\n',
     '2020-03-24T19:15:43.467Z workers Starting run worker instance #5\n',
     '2020-03-24T19:15:43.467Z workers Starting run worker instance #6\n',
     '2020-03-24T19:15:43.467Z workers Starting run worker instance #7\n',
     '2020-03-24T19:15:43.467Z workers Starting run worker instance #8\n',
     '2020-03-24T19:15:43.467Z workers Starting run worker instance #9\n',
     '2020-03-24T19:15:43.468Z workers Web server is listening at 60013\n',
     '2020-03-24T19:15:43.518Z project File cache requires some updates, waiting required files from IDE\n',
     '2020-03-24T19:15:43.548Z extended-core New document or complex document change\n',
     '2020-03-24T19:15:43.603Z project Stopping process pool\n',
     '2020-03-24T19:15:43.603Z project Test run started; run priority: 3\n',
     '2020-03-24T19:15:43.608Z project Running all tests\n',
     '2020-03-24T19:15:43.619Z workers Starting test run, priority: 3\n',
     '2020-03-24T19:15:43.619Z workers Distributing tests between 10 workers\n',
     '2020-03-24T19:15:43.620Z workers Running tests in parallel\n',
     '2020-03-24T19:15:43.621Z nodeRunner Starting sandbox [worker #0, session #bdi6w]\n',
     '2020-03-24T19:15:43.621Z nodeRunner Starting sandbox [worker #1, session #82nqc]\n',
     '2020-03-24T19:15:43.621Z nodeRunner Starting sandbox [worker #2, session #eefjb]\n',
     '2020-03-24T19:15:43.621Z nodeRunner Starting sandbox [worker #3, session #ydpzl]\n',
     '2020-03-24T19:15:43.621Z nodeRunner Starting sandbox [worker #4, session #zx8iw]\n',
     '2020-03-24T19:15:43.621Z nodeRunner Starting sandbox [worker #5, session #0ah5w]\n',
     '2020-03-24T19:15:43.621Z nodeRunner Starting sandbox [worker #6, session #f1wof]\n',
     '2020-03-24T19:15:43.621Z nodeRunner Starting sandbox [worker #7, session #rjmot]\n',
     '2020-03-24T19:15:43.621Z nodeRunner Starting sandbox [worker #8, session #o37oh]\n',
     '2020-03-24T19:15:43.621Z nodeRunner Starting sandbox [worker #9, session #ogs76]\n',
     '2020-03-24T19:15:43.621Z nodeRunner Preparing sandbox [worker #0, session #bdi6w]\n',
     '2020-03-24T19:15:43.621Z nodeRunner Preparing sandbox [worker #1, session #82nqc]\n',
     '2020-03-24T19:15:43.621Z nodeRunner Preparing sandbox [worker #2, session #eefjb]\n',
     '2020-03-24T19:15:43.621Z nodeRunner Preparing sandbox [worker #3, session #ydpzl]\n',
     '2020-03-24T19:15:43.621Z nodeRunner Preparing sandbox [worker #4, session #zx8iw]\n',
     '2020-03-24T19:15:43.622Z nodeRunner Preparing sandbox [worker #5, session #0ah5w]\n',
     '2020-03-24T19:15:43.622Z nodeRunner Preparing sandbox [worker #6, session #f1wof]\n',
     '2020-03-24T19:15:43.622Z nodeRunner Preparing sandbox [worker #7, session #rjmot]\n',
     '2020-03-24T19:15:43.622Z nodeRunner Preparing sandbox [worker #8, session #o37oh]\n',
     '2020-03-24T19:15:43.622Z nodeRunner Preparing sandbox [worker #9, session #ogs76]\n',
     '2020-03-24T19:15:43.758Z workers Started run worker instance (delayed) #0\n',
     '2020-03-24T19:15:43.758Z nodeRunner Prepared sandbox [worker #0, session #bdi6w]\n',
     '2020-03-24T19:15:43.759Z workers [worker #0, session #bdi6w] Running tests in sandbox\n',
     '2020-03-24T19:15:43.763Z workers Started run worker instance (delayed) #3\n',
     '2020-03-24T19:15:43.764Z nodeRunner Prepared sandbox [worker #3, session #ydpzl]\n',
     '2020-03-24T19:15:43.764Z workers [worker #3, session #ydpzl] Running tests in sandbox\n',
     '2020-03-24T19:15:43.766Z workers Started run worker instance (delayed) #1\n',
     '2020-03-24T19:15:43.767Z nodeRunner Prepared sandbox [worker #1, session #82nqc]\n',
     '2020-03-24T19:15:43.767Z workers [worker #1, session #82nqc] Running tests in sandbox\n',
     '2020-03-24T19:15:43.771Z workers Started run worker instance (delayed) #2\n',
     '2020-03-24T19:15:43.771Z nodeRunner Prepared sandbox [worker #2, session #eefjb]\n',
     '2020-03-24T19:15:43.771Z workers [worker #2, session #eefjb] Running tests in sandbox\n',
     '2020-03-24T19:15:43.775Z workers Started run worker instance (delayed) #6\n',
     '2020-03-24T19:15:43.775Z nodeRunner Prepared sandbox [worker #6, session #f1wof]\n',
     '2020-03-24T19:15:43.775Z workers [worker #6, session #f1wof] Running tests in sandbox\n',
     '2020-03-24T19:15:43.778Z workers Started run worker instance (delayed) #4\n',
     '2020-03-24T19:15:43.778Z nodeRunner Prepared sandbox [worker #4, session #zx8iw]\n',
     '2020-03-24T19:15:43.778Z workers [worker #4, session #zx8iw] Running tests in sandbox\n',
     '2020-03-24T19:15:43.786Z workers Started run worker instance (delayed) #5\n',
     '2020-03-24T19:15:43.786Z nodeRunner Prepared sandbox [worker #5, session #0ah5w]\n',
     '2020-03-24T19:15:43.786Z workers [worker #5, session #0ah5w] Running tests in sandbox\n',
     '2020-03-24T19:15:43.789Z workers Started run worker instance (delayed) #9\n',
     '2020-03-24T19:15:43.790Z nodeRunner Prepared sandbox [worker #9, session #ogs76]\n',
     '2020-03-24T19:15:43.790Z workers [worker #9, session #ogs76] Running tests in sandbox\n',
     '2020-03-24T19:15:43.791Z workers Started run worker instance (delayed) #7\n',
     '2020-03-24T19:15:43.791Z nodeRunner Prepared sandbox [worker #7, session #rjmot]\n',
     '2020-03-24T19:15:43.791Z workers [worker #7, session #rjmot] Running tests in sandbox\n',
     '2020-03-24T19:15:43.795Z workers Started run worker instance (delayed) #8\n',
     '2020-03-24T19:15:43.795Z nodeRunner Prepared sandbox [worker #8, session #o37oh]\n',
     '2020-03-24T19:15:43.795Z workers [worker #8, session #o37oh] Running tests in sandbox\n',
     '2020-03-24T19:15:51.000Z workers [82nqc] Loaded unknown number of test(s)\n',
     '2020-03-24T19:15:51.001Z workers [82nqc] Test executed: should be defined\n',
     '2020-03-24T19:15:51.049Z workers [bdi6w] Loaded unknown number of test(s)\n',
     '2020-03-24T19:15:51.050Z workers [bdi6w] Test executed: should be defined\n',
     '2020-03-24T19:15:51.154Z workers [82nqc] Run 1 test(s), skipped 0 test(s)\n',
     '2020-03-24T19:15:51.155Z workers [82nqc] Sandbox is responsive, closing it\n',
     '2020-03-24T19:15:51.184Z workers [bdi6w] Run 1 test(s), skipped 0 test(s)\n',
     '2020-03-24T19:15:51.186Z workers [bdi6w] Sandbox is responsive, closing it\n',
     '2020-03-24T19:15:51.608Z workers [ogs76] Loaded unknown number of test(s)\n',
     '2020-03-24T19:15:51.608Z workers [ogs76] Test executed: should be defined\n',
     '2020-03-24T19:15:51.691Z workers [ogs76] Run 1 test(s), skipped 0 test(s)\n',
     '2020-03-24T19:15:51.692Z workers [ogs76] Sandbox is responsive, closing it\n',
     '2020-03-24T19:15:52.081Z workers [rjmot] Loaded unknown number of test(s)\n',
     '2020-03-24T19:15:52.082Z workers [rjmot] Test executed: should be defined\n',
     '2020-03-24T19:15:52.159Z workers [rjmot] Run 1 test(s), skipped 0 test(s)\n',
     '2020-03-24T19:15:52.160Z workers [rjmot] Sandbox is responsive, closing it\n',
     '2020-03-24T19:15:53.126Z workers [o37oh] Loaded unknown number of test(s)\n',
     '2020-03-24T19:15:53.126Z workers [o37oh] Test executed: should be defined\n',
     '2020-03-24T19:15:53.126Z workers [o37oh] Test 1 executed: redacted from log\n',
     '2020-03-24T19:15:53.127Z workers [o37oh] Test 2 executed: redacted from log\n',
     '2020-03-24T19:15:53.127Z workers [o37oh] Test 3 executed: redacted from log\n',
     '2020-03-24T19:15:53.127Z workers [o37oh] Test 4 executed: redacted from log\n',
     '2020-03-24T19:15:53.127Z workers [o37oh] Test 5 executed: redacted from log\n',
     '2020-03-24T19:15:53.127Z workers [o37oh] Test 6 executed: redacted from log\n',
     '2020-03-24T19:15:53.127Z workers [o37oh] Test 7 executed: redacted from log\n',
     '2020-03-24T19:15:53.128Z workers [o37oh] Test 8 executed: redacted from log\n',
     '2020-03-24T19:15:53.128Z workers [o37oh] Test 9 executed: redacted from log\n',
     '2020-03-24T19:15:53.128Z workers [o37oh] Test 10 executed: redacted from log\n',
     '2020-03-24T19:15:53.128Z workers [o37oh] Test 11 executed: redacted from log\n',
     '2020-03-24T19:15:53.128Z workers [o37oh] Test 12 executed: redacted from log\n',
     '2020-03-24T19:15:53.129Z workers [o37oh] Test 13 executed: redacted from log\n',
     '2020-03-24T19:15:53.129Z workers [o37oh] Test 14 executed: redacted from log\n',
     '2020-03-24T19:15:53.129Z workers [o37oh] Test 15 executed: redacted from log\n',
     '2020-03-24T19:15:53.129Z workers [o37oh] Test 16 executed: redacted from log\n',
     '2020-03-24T19:15:53.129Z workers [o37oh] Test 17 executed: redacted from log\n',
     '2020-03-24T19:15:53.129Z workers [o37oh] Test 18 executed: redacted from log\n',
     '2020-03-24T19:15:53.130Z workers [o37oh] Test 19 executed: redacted from log\n',
     '2020-03-24T19:15:53.130Z workers [o37oh] Test 20 executed: redacted from log\n',
     '2020-03-24T19:15:53.130Z workers [o37oh] Test 21 executed: redacted from log\n',
     '2020-03-24T19:15:53.130Z workers [o37oh] Test 22 executed: redacted from log\n',
     '2020-03-24T19:15:53.130Z workers [o37oh] Test 23 executed: redacted from log\n',
     '2020-03-24T19:15:53.130Z workers [o37oh] Test 24 executed: redacted from log\n',
     '2020-03-24T19:15:53.131Z workers [o37oh] Test 25 executed: redacted from log\n',
     '2020-03-24T19:15:53.131Z workers [o37oh] Test 26 executed: redacted from log\n',
     '2020-03-24T19:15:53.131Z workers [o37oh] Test 27 executed: redacted from log\n',
     '2020-03-24T19:15:53.131Z workers [o37oh] Test 28 executed: redacted from log\n',
     '2020-03-24T19:15:53.131Z workers [o37oh] Test 29 executed: redacted from log\n',
     '2020-03-24T19:15:53.131Z workers [o37oh] Test 30 executed: redacted from log\n',
     '2020-03-24T19:15:53.131Z workers [o37oh] Test 31 executed: redacted from log\n',
     '2020-03-24T19:15:53.132Z workers [o37oh] Test 32 executed: redacted from log\n',
     '2020-03-24T19:15:53.132Z workers [o37oh] Test 33 executed: redacted from log\n',
     '2020-03-24T19:15:53.132Z workers [o37oh] Test 34 executed: redacted from log\n',
     '2020-03-24T19:15:53.132Z workers [o37oh] Test 35 executed: redacted from log\n',
     '2020-03-24T19:15:53.132Z workers [o37oh] Test 36 executed: redacted from log\n',
     '2020-03-24T19:15:53.133Z workers [o37oh] Test 37 executed: redacted from log\n',
     '2020-03-24T19:15:53.134Z workers [o37oh] Test 38 executed: redacted from log\n',
     '2020-03-24T19:15:53.134Z workers [o37oh] Test 39 executed: redacted from log\n',
     '2020-03-24T19:15:53.134Z workers [o37oh] Test 40 executed: redacted from log\n',
     '2020-03-24T19:15:53.134Z workers [o37oh] Test 41 executed: redacted from log\n',
     '2020-03-24T19:15:53.134Z workers [o37oh] Test 42 executed: redacted from log\n',
     '2020-03-24T19:15:53.179Z workers [0ah5w] Loaded unknown number of test(s)\n',
     '2020-03-24T19:15:53.182Z workers [o37oh] Run 43 test(s), skipped 0 test(s)\n',
     '2020-03-24T19:15:53.183Z workers [0ah5w] Test executed: should be defined\n',
     '2020-03-24T19:15:53.183Z workers [o37oh] Sandbox is responsive, closing it\n',
     '2020-03-24T19:15:53.190Z workers [0ah5w] Loaded unknown number of test(s)\n',
     '2020-03-24T19:15:53.197Z workers [0ah5w] Test executed: should be defined\n',
     '2020-03-24T19:15:53.288Z workers [0ah5w] Run 2 test(s), skipped 0 test(s)\n',
     '2020-03-24T19:15:53.288Z workers [0ah5w] Sandbox is responsive, closing it\n',
     '2020-03-24T19:15:53.327Z workers [zx8iw] Loaded unknown number of test(s)\n',
     '2020-03-24T19:15:53.331Z workers [zx8iw] Test executed: should be defined\n',
     '2020-03-24T19:15:53.426Z workers [zx8iw] Run 1 test(s), skipped 0 test(s)\n',
     '2020-03-24T19:15:53.427Z workers [zx8iw] Sandbox is responsive, closing it\n',
     '2020-03-24T19:15:53.701Z workers [eefjb] Loaded unknown number of test(s)\n',
     '2020-03-24T19:15:53.701Z workers [eefjb] Test executed: should be defined\n',
     '2020-03-24T19:15:53.713Z workers [f1wof] Loaded unknown number of test(s)\n',
     '2020-03-24T19:15:53.716Z workers [f1wof] Test executed: should be defined\n',
     '2020-03-24T19:15:53.801Z workers [eefjb] Run 1 test(s), skipped 0 test(s)\n',
     '2020-03-24T19:15:53.802Z workers [eefjb] Sandbox is responsive, closing it\n',
     '2020-03-24T19:15:53.812Z workers [ydpzl] Loaded unknown number of test(s)\n',
     '2020-03-24T19:15:53.814Z workers [ydpzl] Test executed: controller should be defined\n',
     '2020-03-24T19:15:53.824Z workers [f1wof] Run 1 test(s), skipped 0 test(s)\n',
     '2020-03-24T19:15:53.825Z workers [f1wof] Sandbox is responsive, closing it\n',
     '2020-03-24T19:15:53.904Z workers [ydpzl] Run 1 test(s), skipped 0 test(s)\n',
     '2020-03-24T19:15:53.905Z workers [ydpzl] Sandbox is responsive, closing it\n',
     '2020-03-24T19:15:53.905Z workers Merging parallel test run results\n',
     '2020-03-24T19:15:53.923Z project Test run finished\n',
     '2020-03-24T19:15:53.924Z project Processed console.log entries\n',
     '2020-03-24T19:15:53.925Z project Processed loading sequences\n',
     '2020-03-24T19:15:53.925Z project Processed executed tests\n',
     '2020-03-24T19:15:53.948Z project Processed code coverage\n',
     '2020-03-24T19:15:54.065Z project Test run result processed and sent to IDE\n',
     '2020-03-24T19:17:20.252Z project Test run started; run priority: 3\n',
     '2020-03-24T19:17:20.252Z project Running all tests\n',
     '2020-03-24T19:17:20.262Z workers Starting test run, priority: 3\n',
     '2020-03-24T19:17:20.262Z workers Distributing tests between 10 workers\n',
     '2020-03-24T19:17:20.262Z workers Running tests in parallel\n',
     '2020-03-24T19:17:20.262Z nodeRunner Starting sandbox [worker #0, session #5gbr2]\n',
     '2020-03-24T19:17:20.262Z nodeRunner Starting sandbox [worker #1, session #jhoam]\n',
     '2020-03-24T19:17:20.262Z nodeRunner Starting sandbox [worker #2, session #meh2d]\n',
     '2020-03-24T19:17:20.262Z nodeRunner Starting sandbox [worker #3, session #8hf6r]\n',
     '2020-03-24T19:17:20.262Z nodeRunner Starting sandbox [worker #4, session #of68v]\n',
     '2020-03-24T19:17:20.262Z nodeRunner Starting sandbox [worker #5, session #q6aom]\n',
     '2020-03-24T19:17:20.262Z nodeRunner Starting sandbox [worker #6, session #rgsi3]\n',
     '2020-03-24T19:17:20.262Z nodeRunner Starting sandbox [worker #7, session #z343b]\n',
     '2020-03-24T19:17:20.262Z nodeRunner Starting sandbox [worker #8, session #f477m]\n',
     '2020-03-24T19:17:20.262Z nodeRunner Starting sandbox [worker #9, session #18c2x]\n',
     '2020-03-24T19:17:20.262Z nodeRunner Preparing sandbox [worker #0, session #5gbr2]\n',
     '2020-03-24T19:17:20.263Z nodeRunner Preparing sandbox [worker #1, session #jhoam]\n',
     '2020-03-24T19:17:20.263Z nodeRunner Preparing sandbox [worker #2, session #meh2d]\n',
     '2020-03-24T19:17:20.263Z nodeRunner Preparing sandbox [worker #3, session #8hf6r]\n',
     '2020-03-24T19:17:20.263Z nodeRunner Preparing sandbox [worker #4, session #of68v]\n',
     '2020-03-24T19:17:20.263Z nodeRunner Preparing sandbox [worker #5, session #q6aom]\n',
     '2020-03-24T19:17:20.263Z nodeRunner Preparing sandbox [worker #6, session #rgsi3]\n',
     '2020-03-24T19:17:20.263Z nodeRunner Preparing sandbox [worker #7, session #z343b]\n',
     '2020-03-24T19:17:20.263Z nodeRunner Preparing sandbox [worker #8, session #f477m]\n',
     '2020-03-24T19:17:20.263Z nodeRunner Preparing sandbox [worker #9, session #18c2x]\n',
     '2020-03-24T19:17:20.263Z nodeRunner Prepared sandbox [worker #0, session #5gbr2]\n',
     '2020-03-24T19:17:20.263Z nodeRunner Prepared sandbox [worker #1, session #jhoam]\n',
     '2020-03-24T19:17:20.263Z nodeRunner Prepared sandbox [worker #2, session #meh2d]\n',
     '2020-03-24T19:17:20.263Z nodeRunner Prepared sandbox [worker #3, session #8hf6r]\n',
     '2020-03-24T19:17:20.263Z nodeRunner Prepared sandbox [worker #4, session #of68v]\n',
     '2020-03-24T19:17:20.263Z nodeRunner Prepared sandbox [worker #5, session #q6aom]\n',
     '2020-03-24T19:17:20.263Z nodeRunner Prepared sandbox [worker #6, session #rgsi3]\n',
     '2020-03-24T19:17:20.263Z nodeRunner Prepared sandbox [worker #7, session #z343b]\n',
     '2020-03-24T19:17:20.263Z nodeRunner Prepared sandbox [worker #8, session #f477m]\n',
     '2020-03-24T19:17:20.263Z nodeRunner Prepared sandbox [worker #9, session #18c2x]\n',
     '2020-03-24T19:17:20.263Z workers [worker #0, session #5gbr2] Running tests in sandbox\n',
     '2020-03-24T19:17:20.265Z workers [worker #1, session #jhoam] Running tests in sandbox\n',
     '2020-03-24T19:17:20.267Z workers [worker #2, session #meh2d] Running tests in sandbox\n',
     '2020-03-24T19:17:20.269Z workers [worker #3, session #8hf6r] Running tests in sandbox\n',
     '2020-03-24T19:17:20.271Z workers [worker #4, session #of68v] Running tests in sandbox\n',
     '2020-03-24T19:17:20.273Z workers [worker #5, session #q6aom] Running tests in sandbox\n',
     '2020-03-24T19:17:20.275Z workers [worker #6, session #rgsi3] Running tests in sandbox\n',
     '2020-03-24T19:17:20.277Z workers [worker #7, session #z343b] Running tests in sandbox\n',
     '2020-03-24T19:17:20.278Z workers [worker #8, session #f477m] Running tests in sandbox\n',
     '2020-03-24T19:17:20.280Z workers [worker #9, session #18c2x] Running tests in sandbox\n',
     '2020-03-24T19:17:20.647Z workers Sandbox (active) [of68v] error: undefined\n',
     '2020-03-24T19:17:20.647Z workers [5gbr2] Loaded unknown number of test(s)\n',
     '2020-03-24T19:17:20.649Z workers [5gbr2] Test executed: should be defined\n',
     '2020-03-24T19:17:20.652Z workers [jhoam] Loaded unknown number of test(s)\n',
     '2020-03-24T19:17:20.654Z workers [jhoam] Test executed: should be defined\n',
     '2020-03-24T19:17:20.775Z workers [18c2x] Loaded unknown number of test(s)\n',
     '2020-03-24T19:17:20.775Z workers [18c2x] Test executed: should be defined\n',
     '2020-03-24T19:17:20.801Z workers Sandbox (active) [meh2d] error: undefined\n',
     '2020-03-24T19:17:20.803Z workers Sandbox (active) [8hf6r] error: undefined\n',
     '2020-03-24T19:17:20.821Z workers Sandbox (active) [f477m] error: undefined\n',
     '2020-03-24T19:17:20.845Z workers Sandbox (active) [rgsi3] error: undefined\n',
     '2020-03-24T19:17:20.845Z workers Sandbox (active) [z343b] error: undefined\n',
     '2020-03-24T19:17:21.002Z workers [jhoam] Run 1 test(s), skipped 0 test(s)\n',
     '2020-03-24T19:17:21.003Z workers [jhoam] Sandbox is responsive, closing it\n',
     '2020-03-24T19:17:21.005Z workers [of68v] Sandbox is responsive, closing it\n',
     '2020-03-24T19:17:21.006Z project Test run finished\n',
     '2020-03-24T19:17:21.006Z workers [5gbr2] Run 1 test(s), skipped 0 test(s)\n',
     '2020-03-24T19:17:21.007Z workers [5gbr2] Sandbox is responsive, closing it\n',
     '2020-03-24T19:17:21.013Z workers [18c2x] Run 1 test(s), skipped 0 test(s)\n',
     '2020-03-24T19:17:21.014Z workers [18c2x] Sandbox is responsive, closing it\n',
     '2020-03-24T19:17:21.017Z workers [8hf6r] Sandbox is responsive, closing it\n',
     '2020-03-24T19:17:21.017Z workers [f477m] Sandbox is responsive, closing it\n',
     '2020-03-24T19:17:21.018Z workers [meh2d] Sandbox is responsive, closing it\n',
     '2020-03-24T19:17:21.018Z workers [z343b] Sandbox is responsive, closing it\n',
     '2020-03-24T19:17:21.019Z workers [rgsi3] Sandbox is responsive, closing it\n',
     '2020-03-24T19:17:21.078Z workers [q6aom] Loaded unknown number of test(s)\n',
     '2020-03-24T19:17:21.079Z workers [q6aom] Test executed: should be defined\n',
     '2020-03-24T19:17:21.080Z workers Sandbox (active) [q6aom] error: undefined\n',
     '2020-03-24T19:17:21.136Z workers [q6aom] Sandbox is responsive, closing it\n',
     '2020-03-24T19:18:14.443Z fs File changed: redacted.spec.ts\n',
     '2020-03-24T19:18:14.466Z extended-core New document or complex document change\n',
     '2020-03-24T19:18:14.471Z project Test run started; run priority: 2\n',
     '2020-03-24T19:18:14.472Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
     '2020-03-24T19:18:14.483Z workers Starting test run, priority: 2\n',
     '2020-03-24T19:18:14.483Z nodeRunner Starting sandbox [worker #0, session #cl0jn]\n',
     '2020-03-24T19:18:14.483Z nodeRunner Preparing sandbox [worker #0, session #cl0jn]\n',
     '2020-03-24T19:18:14.483Z nodeRunner Prepared sandbox [worker #0, session #cl0jn]\n',
     '2020-03-24T19:18:14.483Z workers [worker #0, session #cl0jn] Running tests in sandbox\n',
     '2020-03-24T19:18:16.224Z workers [cl0jn] Loaded unknown number of test(s)\n',
     '2020-03-24T19:18:16.224Z workers [cl0jn] Test executed: should be defined\n',
     '2020-03-24T19:18:16.281Z workers [cl0jn] Run 1 test(s), skipped 0 test(s)\n',
     '2020-03-24T19:18:16.282Z workers [cl0jn] Sandbox is responsive, closing it\n',
     '2020-03-24T19:18:16.282Z project Test run finished\n',
     '2020-03-24T19:18:16.282Z project Processed console.log entries\n',
     '2020-03-24T19:18:16.282Z project Processed loading sequences\n',
     '2020-03-24T19:18:16.282Z project Processed executed tests\n',
     '2020-03-24T19:18:16.289Z project Processed code coverage\n',
     '2020-03-24T19:18:16.308Z project Test run result processed and sent to IDE\n',
     '2020-03-24T19:19:19.634Z fs File changed in editor: refacted.service.ts\n',
     '2020-03-24T19:19:19.634Z extended-core New document or complex document change\n',
     '2020-03-24T19:19:19.641Z project Test run started; run priority: 2\n',
     '2020-03-24T19:19:19.641Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 4, from failing: 0\n',
     '2020-03-24T19:19:19.651Z workers Starting test run, priority: 2\n',
     '2020-03-24T19:19:19.651Z workers Distributing tests between 5 workers\n',
     '2020-03-24T19:19:19.651Z workers Running tests in parallel\n',
     '2020-03-24T19:19:19.652Z nodeRunner Starting sandbox [worker #0, session #8d68s]\n',
     '2020-03-24T19:19:19.652Z nodeRunner Starting sandbox [worker #1, session #9r7qw]\n',
     '2020-03-24T19:19:19.652Z nodeRunner Starting sandbox [worker #2, session #mdwyh]\n',
     '2020-03-24T19:19:19.652Z nodeRunner Starting sandbox [worker #3, session #6jfww]\n',
     '2020-03-24T19:19:19.652Z nodeRunner Starting sandbox [worker #4, session #2yslz]\n',
     '2020-03-24T19:19:19.652Z nodeRunner Preparing sandbox [worker #0, session #8d68s]\n',
     '2020-03-24T19:19:19.652Z nodeRunner Preparing sandbox [worker #1, session #9r7qw]\n',
     '2020-03-24T19:19:19.652Z nodeRunner Preparing sandbox [worker #2, session #mdwyh]\n',
     '2020-03-24T19:19:19.652Z nodeRunner Preparing sandbox [worker #3, session #6jfww]\n',
     '2020-03-24T19:19:19.652Z nodeRunner Preparing sandbox [worker #4, session #2yslz]\n',
     '2020-03-24T19:19:19.652Z nodeRunner Prepared sandbox [worker #0, session #8d68s]\n',
     '2020-03-24T19:19:19.652Z nodeRunner Prepared sandbox [worker #1, session #9r7qw]\n',
     '2020-03-24T19:19:19.652Z nodeRunner Prepared sandbox [worker #2, session #mdwyh]\n',
     '2020-03-24T19:19:19.652Z nodeRunner Prepared sandbox [worker #3, session #6jfww]\n',
     '2020-03-24T19:19:19.652Z nodeRunner Prepared sandbox [worker #4, session #2yslz]\n',
     '2020-03-24T19:19:19.652Z workers [worker #0, session #8d68s] Running tests in sandbox\n',
     '2020-03-24T19:19:19.654Z workers [worker #1, session #9r7qw] Running tests in sandbox\n',
     '2020-03-24T19:19:19.656Z workers [worker #2, session #mdwyh] Running tests in sandbox\n',
     '2020-03-24T19:19:19.658Z workers [worker #3, session #6jfww] Running tests in sandbox\n',
     '2020-03-24T19:19:19.660Z workers [worker #4, session #2yslz] Running tests in sandbox\n',
     '2020-03-24T19:19:19.886Z workers Sandbox (active) [mdwyh] error: undefined\n',
     '2020-03-24T19:19:19.961Z workers [mdwyh] Sandbox is responsive, closing it\n',
     '2020-03-24T19:19:19.961Z project Test run finished\n',
     '2020-03-24T19:19:20.194Z workers Sandbox (active) [8d68s] error: undefined\n',
     '2020-03-24T19:19:20.226Z fs File changed in editor: redacted.service.ts\n',
     '2020-03-24T19:19:20.229Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
     '2020-03-24T19:19:20.229Z project Test run was cancelled\n',
     '2020-03-24T19:19:20.235Z project Test run started; run priority: 2\n',
     '2020-03-24T19:19:20.235Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 4, from failing: 0\n',
     '2020-03-24T19:19:20.246Z workers Starting test run, priority: 2\n',
     '2020-03-24T19:19:20.246Z workers Distributing tests between 5 workers\n',
     '2020-03-24T19:19:20.246Z workers Running tests in parallel\n',
     '2020-03-24T19:19:20.246Z nodeRunner Starting sandbox [worker #0, session #ohgkd]\n',
     '2020-03-24T19:19:20.246Z nodeRunner Starting sandbox [worker #1, session #v9r9u]\n',
     '2020-03-24T19:19:20.246Z nodeRunner Starting sandbox [worker #2, session #t12bx]\n',
     '2020-03-24T19:19:20.246Z nodeRunner Starting sandbox [worker #3, session #wlwmc]\n',
     '2020-03-24T19:19:20.246Z nodeRunner Starting sandbox [worker #4, session #ytaw5]\n',
     '2020-03-24T19:19:20.246Z nodeRunner Preparing sandbox [worker #0, session #ohgkd]\n',
     '2020-03-24T19:19:20.246Z nodeRunner Preparing sandbox [worker #1, session #v9r9u]\n',
     '2020-03-24T19:19:20.246Z nodeRunner Preparing sandbox [worker #2, session #t12bx]\n',
     '2020-03-24T19:19:20.246Z nodeRunner Preparing sandbox [worker #3, session #wlwmc]\n',
     '2020-03-24T19:19:20.246Z nodeRunner Preparing sandbox [worker #4, session #ytaw5]\n',
     '2020-03-24T19:19:20.246Z nodeRunner Prepared sandbox [worker #0, session #ohgkd]\n',
     '2020-03-24T19:19:20.246Z nodeRunner Prepared sandbox [worker #1, session #v9r9u]\n',
     '2020-03-24T19:19:20.246Z nodeRunner Prepared sandbox [worker #2, session #t12bx]\n',
     '2020-03-24T19:19:20.246Z nodeRunner Prepared sandbox [worker #3, session #wlwmc]\n',
     '2020-03-24T19:19:20.246Z nodeRunner Prepared sandbox [worker #4, session #ytaw5]\n',
     '2020-03-24T19:19:20.246Z workers [worker #0, session #ohgkd] Running tests in sandbox\n',
     '2020-03-24T19:19:20.246Z workers [ohgkd] Sandbox is waiting for worker cleanup\n',
     '2020-03-24T19:19:20.246Z workers [worker #1, session #v9r9u] Running tests in sandbox\n',
     '2020-03-24T19:19:20.247Z workers [v9r9u] Sandbox is waiting for worker cleanup\n',
     '2020-03-24T19:19:20.247Z workers [worker #2, session #t12bx] Running tests in sandbox\n',
     '2020-03-24T19:19:20.248Z workers [worker #3, session #wlwmc] Running tests in sandbox\n',
     '2020-03-24T19:19:20.248Z workers [wlwmc] Sandbox is waiting for worker cleanup\n',
     '2020-03-24T19:19:20.248Z workers [worker #4, session #ytaw5] Running tests in sandbox\n',
     '2020-03-24T19:19:20.248Z workers [ytaw5] Sandbox is waiting for worker cleanup\n',
     '2020-03-24T19:19:20.312Z workers [8d68s] Sandbox is responsive, closing it\n',
     '2020-03-24T19:19:20.416Z workers [6jfww] Sandbox is responsive, closing it\n',
     '2020-03-24T19:19:20.455Z fs File changed in editor: redacted.service.ts\n',
     '2020-03-24T19:19:20.455Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
     '2020-03-24T19:19:20.455Z project Test run was cancelled\n',
     '2020-03-24T19:19:20.614Z workers [t12bx] Sandbox is responsive, closing it\n',
     '2020-03-24T19:19:20.614Z project Test run cancelled, re-queueing run data\n',
     '2020-03-24T19:19:20.614Z project Test run finished\n',
     '2020-03-24T19:19:20.614Z project Test run data re-queued\n',
     '2020-03-24T19:19:20.659Z project Test run started; run priority: 2\n',
     '2020-03-24T19:19:20.659Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 4, from failing: 0\n',
     '2020-03-24T19:19:20.672Z workers Starting test run, priority: 2\n',
     '2020-03-24T19:19:20.672Z workers Distributing tests between 5 workers\n',
     '2020-03-24T19:19:20.672Z workers Running tests in parallel\n',
     '2020-03-24T19:19:20.672Z nodeRunner Starting sandbox [worker #0, session #b5sbl]\n',
     '2020-03-24T19:19:20.672Z nodeRunner Starting sandbox [worker #1, session #2urt6]\n',
     '2020-03-24T19:19:20.673Z nodeRunner Starting sandbox [worker #2, session #zykey]\n',
     '2020-03-24T19:19:20.673Z nodeRunner Starting sandbox [worker #3, session #de15i]\n',
     '2020-03-24T19:19:20.673Z nodeRunner Starting sandbox [worker #4, session #lmxtn]\n',
     '2020-03-24T19:19:20.673Z nodeRunner Preparing sandbox [worker #0, session #b5sbl]\n',
     '2020-03-24T19:19:20.673Z nodeRunner Preparing sandbox [worker #1, session #2urt6]\n',
     '2020-03-24T19:19:20.673Z nodeRunner Preparing sandbox [worker #2, session #zykey]\n',
     '2020-03-24T19:19:20.673Z nodeRunner Preparing sandbox [worker #3, session #de15i]\n',
     '2020-03-24T19:19:20.673Z nodeRunner Preparing sandbox [worker #4, session #lmxtn]\n',
     '2020-03-24T19:19:20.673Z nodeRunner Prepared sandbox [worker #0, session #b5sbl]\n',
     '2020-03-24T19:19:20.673Z nodeRunner Prepared sandbox [worker #1, session #2urt6]\n',
     '2020-03-24T19:19:20.673Z nodeRunner Prepared sandbox [worker #2, session #zykey]\n',
     '2020-03-24T19:19:20.673Z nodeRunner Prepared sandbox [worker #3, session #de15i]\n',
     '2020-03-24T19:19:20.673Z nodeRunner Prepared sandbox [worker #4, session #lmxtn]\n',
     '2020-03-24T19:19:20.673Z workers [worker #0, session #b5sbl] Running tests in sandbox\n',
     '2020-03-24T19:19:20.673Z workers [b5sbl] Sandbox is waiting for worker cleanup\n',
     '2020-03-24T19:19:20.673Z workers [worker #1, session #2urt6] Running tests in sandbox\n',
     '2020-03-24T19:19:20.673Z workers [2urt6] Sandbox is waiting for worker cleanup\n',
     '2020-03-24T19:19:20.673Z workers [worker #2, session #zykey] Running tests in sandbox\n',
     '2020-03-24T19:19:20.676Z workers [worker #3, session #de15i] Running tests in sandbox\n',
     '2020-03-24T19:19:20.676Z workers [de15i] Sandbox is waiting for worker cleanup\n',
     '2020-03-24T19:19:20.676Z workers [worker #4, session #lmxtn] Running tests in sandbox\n',
     '2020-03-24T19:19:20.676Z workers [lmxtn] Sandbox is waiting for worker cleanup\n',
     '2020-03-24T19:19:20.689Z workers [ohgkd] Sandbox is responsive, closing it\n',
     '2020-03-24T19:19:20.787Z workers [2yslz] Sandbox is responsive, closing it\n',
     '2020-03-24T19:19:20.796Z workers [wlwmc] Sandbox is responsive, closing it\n',
     '2020-03-24T19:19:20.887Z workers Sandbox (active) [zykey] error: undefined\n',
     '2020-03-24T19:19:20.949Z workers [zykey] Sandbox is responsive, closing it\n',
     '2020-03-24T19:19:20.949Z project Test run finished\n',
     '2020-03-24T19:19:20.967Z workers Sandbox (active) [b5sbl] error: undefined\n',
     '2020-03-24T19:19:21.032Z workers Sandbox (active) [de15i] error: undefined\n',
     '2020-03-24T19:19:21.042Z workers Sandbox (active) [lmxtn] error: undefined\n',
     '2020-03-24T19:19:21.106Z workers [de15i] Sandbox is responsive, closing it\n',
     '2020-03-24T19:19:21.111Z workers [b5sbl] Sandbox is responsive, closing it\n',
     '2020-03-24T19:19:21.156Z workers [lmxtn] Sandbox is responsive, closing it\n',
     '2020-03-24T19:19:21.229Z workers [9r7qw] Sandbox is not responsive, recycling worker instance\n',
     '2020-03-24T19:19:21.230Z workers [2urt6] Sandbox worker requires recycling\n',
     '2020-03-24T19:19:21.876Z fs File changed in editor:r redacted.service.ts\n',
     '2020-03-24T19:19:21.881Z project Test run started; run priority: 2\n',
     '2020-03-24T19:19:21.881Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 4, from failing: 0\n',
     '2020-03-24T19:19:21.895Z workers Starting test run, priority: 2\n',
     '2020-03-24T19:19:21.895Z workers Distributing tests between 5 workers\n',
     '2020-03-24T19:19:21.895Z workers Running tests in parallel\n',
     '2020-03-24T19:19:21.895Z nodeRunner Starting sandbox [worker #0, session #3a1qe]\n',
     '2020-03-24T19:19:21.895Z nodeRunner Starting sandbox [worker #1, session #fs6u0]\n',
     '2020-03-24T19:19:21.895Z nodeRunner Starting sandbox [worker #2, session #6d7zh]\n',
     '2020-03-24T19:19:21.895Z nodeRunner Starting sandbox [worker #3, session #0sk42]\n',
     '2020-03-24T19:19:21.895Z nodeRunner Starting sandbox [worker #4, session #ud0wp]\n',
     '2020-03-24T19:19:21.895Z nodeRunner Preparing sandbox [worker #0, session #3a1qe]\n',
     '2020-03-24T19:19:21.895Z nodeRunner Preparing sandbox [worker #1, session #fs6u0]\n',
     '2020-03-24T19:19:21.895Z workers Starting run worker instance #1\n',
     '2020-03-24T19:19:21.895Z nodeRunner Preparing sandbox [worker #2, session #6d7zh]\n',
     '2020-03-24T19:19:21.895Z nodeRunner Preparing sandbox [worker #3, session #0sk42]\n',
     '2020-03-24T19:19:21.895Z nodeRunner Preparing sandbox [worker #4, session #ud0wp]\n',
     '2020-03-24T19:19:21.895Z nodeRunner Prepared sandbox [worker #0, session #3a1qe]\n',
     '2020-03-24T19:19:21.895Z nodeRunner Prepared sandbox [worker #2, session #6d7zh]\n',
     '2020-03-24T19:19:21.895Z nodeRunner Prepared sandbox [worker #3, session #0sk42]\n',
     '2020-03-24T19:19:21.895Z nodeRunner Prepared sandbox [worker #4, session #ud0wp]\n',
     '2020-03-24T19:19:21.895Z workers [worker #0, session #3a1qe] Running tests in sandbox\n',
     '2020-03-24T19:19:21.898Z workers [worker #2, session #6d7zh] Running tests in sandbox\n',
     '2020-03-24T19:19:21.900Z workers [worker #3, session #0sk42] Running tests in sandbox\n',
     '2020-03-24T19:19:21.902Z workers [worker #4, session #ud0wp] Running tests in sandbox\n',
     '2020-03-24T19:19:22.075Z workers Sandbox (active) [6d7zh] error: undefined\n',
     '2020-03-24T19:19:22.147Z workers Sandbox (active) [0sk42] error: undefined\n',
     '2020-03-24T19:19:22.157Z workers [6d7zh] Sandbox is responsive, closing it\n',
     '2020-03-24T19:19:22.157Z project Test run finished\n',
     '2020-03-24T19:19:22.163Z workers Started run worker instance (delayed) #1\n',
     '2020-03-24T19:19:22.164Z nodeRunner Prepared sandbox [worker #1, session #fs6u0]\n',
     '2020-03-24T19:19:22.164Z workers [worker #1, session #fs6u0] Running tests in sandbox\n',
     '2020-03-24T19:19:22.166Z workers Sandbox (active) [ud0wp] error: undefined\n',
     '2020-03-24T19:19:22.167Z workers Sandbox (active) [3a1qe] error: undefined\n',
     '2020-03-24T19:19:22.215Z workers [0sk42] Sandbox is responsive, closing it\n',
     '2020-03-24T19:19:22.226Z workers [ud0wp] Sandbox is responsive, closing it\n',
     '2020-03-24T19:19:22.226Z workers [3a1qe] Sandbox is responsive, closing it\n',
     '2020-03-24T19:19:24.555Z fs File changed in editor: redacted.service.ts\n',
     '2020-03-24T19:19:24.556Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
     '2020-03-24T19:19:24.556Z project Test run was cancelled\n',
     '2020-03-24T19:19:24.559Z project Test run started; run priority: 2\n',
     '2020-03-24T19:19:24.559Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 4, from failing: 0\n',
     '2020-03-24T19:19:24.565Z workers Starting test run, priority: 2\n',
     '2020-03-24T19:19:24.565Z workers Distributing tests between 5 workers\n',
     '2020-03-24T19:19:24.565Z workers Running tests in parallel\n',
     '2020-03-24T19:19:24.566Z nodeRunner Starting sandbox [worker #0, session #q9yr5]\n',
     '2020-03-24T19:19:24.566Z nodeRunner Starting sandbox [worker #1, session #sg3uz]\n',
     '2020-03-24T19:19:24.566Z nodeRunner Starting sandbox [worker #2, session #lbcyd]\n',
     '2020-03-24T19:19:24.566Z nodeRunner Starting sandbox [worker #3, session #cpks6]\n',
     '2020-03-24T19:19:24.566Z nodeRunner Starting sandbox [worker #4, session #4z3ev]\n',
     '2020-03-24T19:19:24.566Z nodeRunner Preparing sandbox [worker #0, session #q9yr5]\n',
     '2020-03-24T19:19:24.566Z nodeRunner Preparing sandbox [worker #1, session #sg3uz]\n',
     '2020-03-24T19:19:24.566Z nodeRunner Preparing sandbox [worker #2, session #lbcyd]\n',
     '2020-03-24T19:19:24.566Z nodeRunner Preparing sandbox [worker #3, session #cpks6]\n',
     '2020-03-24T19:19:24.566Z nodeRunner Preparing sandbox [worker #4, session #4z3ev]\n',
     '2020-03-24T19:19:24.566Z nodeRunner Prepared sandbox [worker #0, session #q9yr5]\n',
     '2020-03-24T19:19:24.566Z nodeRunner Prepared sandbox [worker #1, session #sg3uz]\n',
     '2020-03-24T19:19:24.566Z nodeRunner Prepared sandbox [worker #2, session #lbcyd]\n',
     '2020-03-24T19:19:24.566Z nodeRunner Prepared sandbox [worker #3, session #cpks6]\n',
     '2020-03-24T19:19:24.566Z nodeRunner Prepared sandbox [worker #4, session #4z3ev]\n',
     '2020-03-24T19:19:24.566Z workers [worker #0, session #q9yr5] Running tests in sandbox\n',
     '2020-03-24T19:19:24.567Z workers [worker #1, session #sg3uz] Running tests in sandbox\n',
     '2020-03-24T19:19:24.567Z workers [sg3uz] Sandbox is waiting for worker cleanup\n',
     '2020-03-24T19:19:24.567Z workers [worker #2, session #lbcyd] Running tests in sandbox\n',
     '2020-03-24T19:19:24.568Z workers [worker #3, session #cpks6] Running tests in sandbox\n',
     '2020-03-24T19:19:24.569Z workers [worker #4, session #4z3ev] Running tests in sandbox\n',
     '2020-03-24T19:19:24.729Z workers Sandbox (active) [lbcyd] error: undefined\n',
     '2020-03-24T19:19:24.793Z workers Sandbox (active) [cpks6] error: undefined\n',
     '2020-03-24T19:19:24.800Z workers Sandbox (active) [q9yr5] error: undefined\n',
     '2020-03-24T19:19:24.800Z workers [lbcyd] Sandbox is responsive, closing it\n',
     '2020-03-24T19:19:24.800Z project Test run finished\n',
     '2020-03-24T19:19:24.823Z workers Sandbox (active) [4z3ev] error: undefined\n',
     '2020-03-24T19:19:24.873Z workers [q9yr5] Sandbox is responsive, closing it\n',
     '2020-03-24T19:19:24.889Z workers [4z3ev] Sandbox is responsive, closing it\n',
     '2020-03-24T19:19:24.949Z workers [cpks6] Sandbox is responsive, closing it\n',
     '2020-03-24T19:19:25.556Z workers [fs6u0] Sandbox is not responsive, recycling worker instance\n',
     '2020-03-24T19:19:25.556Z workers [sg3uz] Sandbox worker requires recycling\n' ] }

After modifying a test, the following error shows in the WallabyJs console:

[Info]  Finished executing 43 affected test(s) in 5.26 second(s)
[Info]  console.log: Jest: FAIL libs/registrar/domain/src/lib/estimation/estimation.service.spec.ts
[Info]  console.log: Jest:   ● Test suite failed to run
[Info]      TypeError: Cannot set property '0' of undefined
[Info]        at a.statement (../../../Users/Gamer/.vscode/extensions/wallabyjs.wallaby-vscode-1.0.184/wallaby/server.js:24:2331)
[Info]        at l.$_$w.e.$_$w.e.$_$w_ (../../../Users/Gamer/.vscode/extensions/wallabyjs.wallaby-vscode-1.0.184/wallaby/server.js:25:7178)
[Info]        at Object.<anonymous> (libs/redacted/models/src/lib/events/index.ts:3:1)
[Info]        at Object.<anonymous> (libs/redacted/models/src/lib/index.ts:12:42)
[Info]        at Object.<anonymous> (libs/redacted/models/src/index.ts:5:42)
[Info]        at Object.<anonymous> (libs/redacted/domain/src/lib/redacted/mocks/plan-contracts.mock.ts:4:39)
[Info]        at Object.<anonymous> (redacted.service.spec.ts:8:52)
ArtemGovorov commented 4 years ago

Can you please try the following:

michael-golden commented 4 years ago

That did help a bit. Thanks! It's still taking ~9 seconds for test edits to re-run -- but once a single test is modified, I can modify the same test and it completes ~400ms.

ArtemGovorov commented 4 years ago

Thanks for the update.

It's still taking ~9 seconds for test edits to re-run

Do you mean a full test run for the whole project?

michael-golden commented 4 years ago

Thanks for the update.

It's still taking ~9 seconds for test edits to re-run

Do you mean a full test run for the whole project?

No -- for the single modified test

ArtemGovorov commented 4 years ago

No -- for the single modified test

Can you please:

michael-golden commented 4 years ago
{ editorVersion: '1.43.2',
  pluginVersion: '1.0.185',
  editorType: 'VSCode',
  osVersion: 'win32 10.0.18362',
  nodeVersion: 'v11.9.0',
  coreVersion: '1.0.871',
  config:
   { diagnostics: {},
     testFramework: { version: 'jest@24.8.0', configurator: 'jest@24.8.0', reporter: 'jest@24.8.0', starter: 'jest@24.8.0', autoDetected: true },
     filesWithCoverageCalculated: [],
     micromatch: true,
     files:
      [ { pattern: '\\\\node_modules\\\\', regexp: /\\node_modules\\/, ignore: true, trigger: true, load: true },
        { pattern: 'dist\\\\|build\\\\|coverage\\\\|\\\\\\.cache\\\\|\\\\\\.idea\\\\|\\\\\\.vscode\\\\|\\\\\\.git\\\\|\\\\\\.gitlab\\\\',
          regexp: /dist\\|build\\|coverage\\|\\\.cache\\|\\\.idea\\|\\\.vscode\\|\\\.git\\|\\\.gitlab\\/,
          ignore: true,
          trigger: true,
          load: true },
        { pattern: '**/**', ignore: false, trigger: true, load: true, order: 1 },
        { pattern: '**/+(*.)+(spec|test).+(ts|js)?(x)', ignore: true, trigger: true, load: true } ],
     tests:
      [ { pattern: '\\\\node_modules\\\\', regexp: /\\node_modules\\/, ignore: true, trigger: true, load: true, test: true },
        { pattern: 'dist\\\\|build\\\\|coverage\\\\|\\\\\\.cache\\\\|\\\\\\.idea\\\\|\\\\\\.vscode\\\\|\\\\\\.git\\\\|\\\\\\.gitlab\\\\',
          regexp: /dist\\|build\\|coverage\\|\\\.cache\\|\\\.idea\\|\\\.vscode\\|\\\.git\\|\\\.gitlab\\/,
          ignore: true,
          trigger: true,
          load: true,
          test: true },
        { pattern: '**/+(*.)+(spec|test).+(ts|js)?(x)', ignore: false, trigger: true, load: true, test: true, order: 2 } ],
     filesWithNoCoverageCalculated: [],
     runAllTestsInAffectedTestFile: false,
     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,
     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,
     loose: true,
     configCode: 'auto.detect#2041082197' },
  packageJSON:
   { dependencies:
      { '@godaddy/terminus': '^4.2.1',
        '@hapi/joi': '^16.1.7',
        '@nestjs/common': '^6.8.3',
        '@nestjs/core': '^6.8.3',
        '@nestjs/jwt': '^6.1.1',
        '@nestjs/passport': '^6.1.1',
        '@nestjs/platform-express': '^6.8.3',
        '@nestjs/swagger': '^3.1.0',
        '@nestjs/terminus': '^6.5.2',
        '@nrwl/cli': '^8.7.0',
        '@types/body-parser-xml': '^1.1.0',
        '@types/lodash': '^4.14.149',
        'amazon-s3-uri': '0.0.3',
        'automapper-ts': '^1.9.0',
        'aws-lambda': '^1.0.5',
        'aws-sdk': '^2.596.0',
        axios: '^0.19.1',
        'body-parser': '^1.19.0',
        'body-parser-xml': '^1.1.0',
        chalk: '^2.4.2',
        'class-transformer': '^0.2.3',
        'class-validator': '^0.11.0',
        commander: '^3.0.2',
        'fork-ts-checker-webpack-plugin': '^3.1.1',
        moment: '^2.24.0',
        mysql: '^2.17.1',
        'nest-emitter': '^1.1.0',
        passport: '^0.4.1',
        'passport-jwt': '^4.0.0',
        'passport-local': '^1.0.0',
        'reflect-metadata': '^0.1.13',
        'swagger-ui-express': '^4.1.2',
        thinid: '^0.5.5',
        'ts-loader': '^6.2.1',
        'tslint-lines-between-class-members': '^1.3.6' },
     devDependencies:
      { '@nestjs/schematics': '^6.7.0',
        '@nestjs/testing': '^6.8.3',
        '@nrwl/eslint-plugin-nx': '9.0.4',
        '@nrwl/jest': '9.0.4',
        '@nrwl/nest': '9.0.4',
        '@nrwl/node': '9.0.4',
        '@nrwl/tao': '9.0.4',
        '@nrwl/workspace': '9.0.4',
        '@types/aws-lambda': '^8.10.39',
        '@types/jest': '24.0.9',
        '@types/node': '^11.13.4',
        '@types/passport-jwt': '^3.0.3',
        '@typescript-eslint/eslint-plugin': '2.3.2',
        '@typescript-eslint/parser': '2.3.2',
        dotenv: '^6.2.0',
        eslint: '6.1.0',
        'eslint-config-prettier': '6.0.0',
        jest: '24.1.0',
        'jest-mock-extended': '^1.0.8',
        prettier: '1.18.2',
        serverless: '^1.61.1',
        'serverless-webpack': '^5.3.1',
        'ts-jest': '24.0.2',
        'ts-node': '^8.1.0',
        'tsc-watch': '2.2.1',
        'tsconfig-paths': '3.8.0',
        'tsconfig-paths-webpack-plugin': '^3.2.0',
        tslint: '~5.11.0',
        typeorm: '^0.2.19',
        typescript: '3.7.5' } },
  fs: { numberOfFiles: 762 },
  debug:
   [ '2020-03-25T04:22:27.290Z config Detected Jest.\n',
     '2020-03-25T04:22:27.290Z config Configured Jest.\n',
     '2020-03-25T04:22:27.292Z project Wallaby Node version: v11.9.0\n',
     '2020-03-25T04:22:27.292Z project Wallaby config: C:\\Repos\\pa\\pa_service_api\\auto.detect\n',
     '2020-03-25T04:22:28.627Z project File cache: C:\\Users\\Gamer\\.vscode\\extensions\\wallabyjs.wallaby-vscode-1.0.185\\projects\\28ab5eec4a8c7e05\n',
     '2020-03-25T04:22:28.674Z uiService Listening port 51235\n',
     '2020-03-25T04:22:28.721Z workers Parallelism for initial run: 10, for regular run: 5\n',
     '2020-03-25T04:22:28.721Z workers Starting run worker instance #0\n',
     '2020-03-25T04:22:28.722Z workers Starting run worker instance #1\n',
     '2020-03-25T04:22:28.722Z workers Starting run worker instance #2\n',
     '2020-03-25T04:22:28.722Z workers Starting run worker instance #3\n',
     '2020-03-25T04:22:28.722Z workers Starting run worker instance #4\n',
     '2020-03-25T04:22:28.722Z workers Starting run worker instance #5\n',
     '2020-03-25T04:22:28.722Z workers Starting run worker instance #6\n',
     '2020-03-25T04:22:28.722Z workers Starting run worker instance #7\n',
     '2020-03-25T04:22:28.722Z workers Starting run worker instance #8\n',
     '2020-03-25T04:22:28.722Z workers Starting run worker instance #9\n',
     '2020-03-25T04:22:28.723Z workers Web server is listening at 59421\n',
     '2020-03-25T04:22:28.747Z project File cache requires some updates, waiting required files from IDE\n',
     '2020-03-25T04:22:28.778Z project Stopping process pool\n',
     '2020-03-25T04:22:28.779Z project Test run started; run priority: 3\n',
     '2020-03-25T04:22:28.783Z project Running all tests\n',
     '2020-03-25T04:22:28.808Z workers Starting test run, priority: 3\n',
     '2020-03-25T04:22:28.808Z workers Distributing tests between 10 workers\n',
     '2020-03-25T04:22:28.810Z workers Running tests in parallel\n',
     '2020-03-25T04:22:28.810Z nodeRunner Starting sandbox [worker #0, session #r96sl]\n',
     '2020-03-25T04:22:28.811Z nodeRunner Starting sandbox [worker #1, session #erhfs]\n',
     '2020-03-25T04:22:28.811Z nodeRunner Starting sandbox [worker #2, session #r3z0z]\n',
     '2020-03-25T04:22:28.811Z nodeRunner Starting sandbox [worker #3, session #z6klp]\n',
     '2020-03-25T04:22:28.811Z nodeRunner Starting sandbox [worker #4, session #wfxgn]\n',
     '2020-03-25T04:22:28.811Z nodeRunner Starting sandbox [worker #5, session #pl3ol]\n',
     '2020-03-25T04:22:28.811Z nodeRunner Starting sandbox [worker #6, session #27yox]\n',
     '2020-03-25T04:22:28.811Z nodeRunner Starting sandbox [worker #7, session #fnpv0]\n',
     '2020-03-25T04:22:28.811Z nodeRunner Starting sandbox [worker #8, session #f0osp]\n',
     '2020-03-25T04:22:28.811Z nodeRunner Starting sandbox [worker #9, session #mlfoh]\n',
     '2020-03-25T04:22:28.811Z nodeRunner Preparing sandbox [worker #0, session #r96sl]\n',
     '2020-03-25T04:22:28.811Z nodeRunner Preparing sandbox [worker #1, session #erhfs]\n',
     '2020-03-25T04:22:28.811Z nodeRunner Preparing sandbox [worker #2, session #r3z0z]\n',
     '2020-03-25T04:22:28.811Z nodeRunner Preparing sandbox [worker #3, session #z6klp]\n',
     '2020-03-25T04:22:28.811Z nodeRunner Preparing sandbox [worker #4, session #wfxgn]\n',
     '2020-03-25T04:22:28.811Z nodeRunner Preparing sandbox [worker #5, session #pl3ol]\n',
     '2020-03-25T04:22:28.811Z nodeRunner Preparing sandbox [worker #6, session #27yox]\n',
     '2020-03-25T04:22:28.811Z nodeRunner Preparing sandbox [worker #7, session #fnpv0]\n',
     '2020-03-25T04:22:28.811Z nodeRunner Preparing sandbox [worker #8, session #f0osp]\n',
     '2020-03-25T04:22:28.811Z nodeRunner Preparing sandbox [worker #9, session #mlfoh]\n',
     '2020-03-25T04:22:29.054Z workers Started run worker instance (delayed) #1\n',
     '2020-03-25T04:22:29.054Z nodeRunner Prepared sandbox [worker #1, session #erhfs]\n',
     '2020-03-25T04:22:29.055Z workers [worker #1, session #erhfs] Running tests in sandbox\n',
     '2020-03-25T04:22:29.060Z workers Started run worker instance (delayed) #6\n',
     '2020-03-25T04:22:29.060Z nodeRunner Prepared sandbox [worker #6, session #27yox]\n',
     '2020-03-25T04:22:29.060Z workers [worker #6, session #27yox] Running tests in sandbox\n',
     '2020-03-25T04:22:29.062Z workers Started run worker instance (delayed) #9\n',
     '2020-03-25T04:22:29.062Z nodeRunner Prepared sandbox [worker #9, session #mlfoh]\n',
     '2020-03-25T04:22:29.062Z workers [worker #9, session #mlfoh] Running tests in sandbox\n',
     '2020-03-25T04:22:29.067Z workers Started run worker instance (delayed) #4\n',
     '2020-03-25T04:22:29.067Z nodeRunner Prepared sandbox [worker #4, session #wfxgn]\n',
     '2020-03-25T04:22:29.067Z workers [worker #4, session #wfxgn] Running tests in sandbox\n',
     '2020-03-25T04:22:29.070Z workers Started run worker instance (delayed) #3\n',
     '2020-03-25T04:22:29.071Z nodeRunner Prepared sandbox [worker #3, session #z6klp]\n',
     '2020-03-25T04:22:29.071Z workers [worker #3, session #z6klp] Running tests in sandbox\n',
     '2020-03-25T04:22:29.074Z workers Started run worker instance (delayed) #0\n',
     '2020-03-25T04:22:29.075Z nodeRunner Prepared sandbox [worker #0, session #r96sl]\n',
     '2020-03-25T04:22:29.075Z workers [worker #0, session #r96sl] Running tests in sandbox\n',
     '2020-03-25T04:22:29.078Z workers Started run worker instance (delayed) #8\n',
     '2020-03-25T04:22:29.078Z nodeRunner Prepared sandbox [worker #8, session #f0osp]\n',
     '2020-03-25T04:22:29.079Z workers [worker #8, session #f0osp] Running tests in sandbox\n',
     '2020-03-25T04:22:29.084Z workers Started run worker instance (delayed) #7\n',
     '2020-03-25T04:22:29.084Z nodeRunner Prepared sandbox [worker #7, session #fnpv0]\n',
     '2020-03-25T04:22:29.084Z workers [worker #7, session #fnpv0] Running tests in sandbox\n',
     '2020-03-25T04:22:29.086Z workers Started run worker instance (delayed) #5\n',
     '2020-03-25T04:22:29.086Z nodeRunner Prepared sandbox [worker #5, session #pl3ol]\n',
     '2020-03-25T04:22:29.086Z workers [worker #5, session #pl3ol] Running tests in sandbox\n',
     '2020-03-25T04:22:29.106Z workers Started run worker instance (delayed) #2\n',
     '2020-03-25T04:22:29.106Z nodeRunner Prepared sandbox [worker #2, session #r3z0z]\n',
     '2020-03-25T04:22:29.106Z workers [worker #2, session #r3z0z] Running tests in sandbox\n',
     '2020-03-25T04:22:35.599Z workers [r96sl] Loaded unknown number of test(s)\n',
     '2020-03-25T04:22:35.599Z workers [r96sl] Test executed: should be defined\n',
     '2020-03-25T04:22:35.665Z workers [erhfs] Loaded unknown number of test(s)\n',
     '2020-03-25T04:22:35.667Z workers [erhfs] Test executed: should be defined\n',
     '2020-03-25T04:22:35.799Z workers [r96sl] Run 1 test(s), skipped 0 test(s)\n',
     '2020-03-25T04:22:35.801Z workers [r96sl] Sandbox is responsive, closing it\n',
     '2020-03-25T04:22:35.820Z workers [erhfs] Run 1 test(s), skipped 0 test(s)\n',
     '2020-03-25T04:22:35.822Z workers [erhfs] Sandbox is responsive, closing it\n',
     '2020-03-25T04:22:36.136Z workers [mlfoh] Loaded unknown number of test(s)\n',
     '2020-03-25T04:22:36.136Z workers [mlfoh] Test executed: should be defined\n',
     '2020-03-25T04:22:36.230Z workers [mlfoh] Run 1 test(s), skipped 0 test(s)\n',
     '2020-03-25T04:22:36.231Z workers [mlfoh] Sandbox is responsive, closing it\n',
     '2020-03-25T04:22:36.477Z workers [fnpv0] Loaded unknown number of test(s)\n',
     '2020-03-25T04:22:36.477Z workers [fnpv0] Test executed: should be defined\n',
     '2020-03-25T04:22:36.554Z workers [fnpv0] Run 1 test(s), skipped 0 test(s)\n',
     '2020-03-25T04:22:36.555Z workers [fnpv0] Sandbox is responsive, closing it\n',
     '2020-03-25T04:22:37.444Z workers [f0osp] Loaded unknown number of test(s)\n',
     '2020-03-25T04:22:37.445Z workers [f0osp] Test executed: should be defined\n',
     '2020-03-25T04:22:37.445Z workers [f0osp] Test executed: test 1\n',
     '2020-03-25T04:22:37.445Z workers [f0osp] Test executed: test 2\n',
     '2020-03-25T04:22:37.446Z workers [f0osp] Test executed: test 3\n',
     '2020-03-25T04:22:37.446Z workers [f0osp] Test executed: test 4\n',
     '2020-03-25T04:22:37.446Z workers [f0osp] Test executed: test 5\n',
     '2020-03-25T04:22:37.446Z workers [f0osp] Test executed: test 6\n',
     '2020-03-25T04:22:37.447Z workers [f0osp] Test executed: test 7\n',
     '2020-03-25T04:22:37.447Z workers [f0osp] Test executed: test 8\n',
     '2020-03-25T04:22:37.447Z workers [f0osp] Test executed: test 9\n',
     '2020-03-25T04:22:37.447Z workers [f0osp] Test executed: test 10\n',
     '2020-03-25T04:22:37.450Z workers [f0osp] Test executed: test 11\n',
     '2020-03-25T04:22:37.450Z workers [f0osp] Test executed: test 12\n',
     '2020-03-25T04:22:37.451Z workers [f0osp] Test executed: test 13\n',
     '2020-03-25T04:22:37.451Z workers [f0osp] Test executed: test 14\n',
     '2020-03-25T04:22:37.451Z workers [f0osp] Test executed: test 15\n',
     '2020-03-25T04:22:37.451Z workers [f0osp] Test executed: test 16\n',
     '2020-03-25T04:22:37.453Z workers [f0osp] Test executed: test 17\n',
     '2020-03-25T04:22:37.453Z workers [f0osp] Test executed: test 18\n',
     '2020-03-25T04:22:37.453Z workers [f0osp] Test executed: test 19\n',
     '2020-03-25T04:22:37.454Z workers [f0osp] Test executed: test 20\n',
     '2020-03-25T04:22:37.454Z workers [f0osp] Test executed: test 21\n',
     '2020-03-25T04:22:37.454Z workers [f0osp] Test executed: test 22\n',
     '2020-03-25T04:22:37.454Z workers [f0osp] Test executed: test 23\n',
     '2020-03-25T04:22:37.454Z workers [f0osp] Test executed: test 24\n',
     '2020-03-25T04:22:37.454Z workers [f0osp] Test executed: test 25\n',
     '2020-03-25T04:22:37.455Z workers [f0osp] Test executed: test 26\n',
     '2020-03-25T04:22:37.455Z workers [f0osp] Test executed: test 27\n',
     '2020-03-25T04:22:37.455Z workers [f0osp] Test executed: test 28\n',
     '2020-03-25T04:22:37.455Z workers [f0osp] Test executed: test 29\n',
     '2020-03-25T04:22:37.455Z workers [f0osp] Test executed: test 30\n',
     '2020-03-25T04:22:37.456Z workers [f0osp] Test executed: test 31\n',
     '2020-03-25T04:22:37.456Z workers [f0osp] Test executed: test 32\n',
     '2020-03-25T04:22:37.456Z workers [f0osp] Test executed: test 33\n',
     '2020-03-25T04:22:37.456Z workers [f0osp] Test executed: test 34\n',
     '2020-03-25T04:22:37.456Z workers [f0osp] Test executed: test 35\n',
     '2020-03-25T04:22:37.457Z workers [f0osp] Test executed: test 36\n',
     '2020-03-25T04:22:37.457Z workers [f0osp] Test executed: test 37\n',
     '2020-03-25T04:22:37.457Z workers [f0osp] Test executed: test 37\n',
     '2020-03-25T04:22:37.457Z workers [f0osp] Test executed: test 38\n',
     '2020-03-25T04:22:37.458Z workers [f0osp] Test executed: test 39\n',
     '2020-03-25T04:22:37.458Z workers [f0osp] Test executed: test 40\n',
     '2020-03-25T04:22:37.458Z workers [f0osp] Test executed: test 40\n',
     '2020-03-25T04:22:37.514Z workers [f0osp] Run 43 test(s), skipped 0 test(s)\n',
     '2020-03-25T04:22:37.515Z workers [f0osp] Sandbox is responsive, closing it\n',
     '2020-03-25T04:22:37.630Z workers [pl3ol] Loaded unknown number of test(s)\n',
     '2020-03-25T04:22:37.630Z workers [pl3ol] Test executed: should be defined\n',
     '2020-03-25T04:22:37.631Z workers [pl3ol] Loaded unknown number of test(s)\n',
     '2020-03-25T04:22:37.631Z workers [pl3ol] Test executed: should be defined\n',
     '2020-03-25T04:22:37.696Z workers [pl3ol] Run 2 test(s), skipped 0 test(s)\n',
     '2020-03-25T04:22:37.697Z workers [pl3ol] Sandbox is responsive, closing it\n',
     '2020-03-25T04:22:37.854Z workers [wfxgn] Loaded unknown number of test(s)\n',
     '2020-03-25T04:22:37.855Z workers [wfxgn] Test executed: should be defined\n',
     '2020-03-25T04:22:37.918Z workers [wfxgn] Run 1 test(s), skipped 0 test(s)\n',
     '2020-03-25T04:22:37.919Z workers [wfxgn] Sandbox is responsive, closing it\n',
     '2020-03-25T04:22:38.048Z workers [27yox] Loaded unknown number of test(s)\n',
     '2020-03-25T04:22:38.048Z workers [27yox] Test executed: should be defined\n',
     '2020-03-25T04:22:38.084Z workers [z6klp] Loaded unknown number of test(s)\n',
     '2020-03-25T04:22:38.085Z workers [z6klp] Test executed: controller should be defined\n',
     '2020-03-25T04:22:38.137Z workers [27yox] Run 1 test(s), skipped 0 test(s)\n',
     '2020-03-25T04:22:38.138Z workers [27yox] Sandbox is responsive, closing it\n',
     '2020-03-25T04:22:38.159Z workers [z6klp] Run 1 test(s), skipped 0 test(s)\n',
     '2020-03-25T04:22:38.160Z workers [z6klp] Sandbox is responsive, closing it\n',
     '2020-03-25T04:22:38.180Z workers [r3z0z] Loaded unknown number of test(s)\n',
     '2020-03-25T04:22:38.180Z workers [r3z0z] Test executed: should be defined\n',
     '2020-03-25T04:22:38.252Z workers [r3z0z] Run 1 test(s), skipped 0 test(s)\n',
     '2020-03-25T04:22:38.253Z workers [r3z0z] Sandbox is responsive, closing it\n',
     '2020-03-25T04:22:38.253Z workers Merging parallel test run results\n',
     '2020-03-25T04:22:38.270Z project Test run finished\n',
     '2020-03-25T04:22:38.271Z project Processed console.log entries\n',
     '2020-03-25T04:22:38.273Z project Processed loading sequences\n',
     '2020-03-25T04:22:38.274Z project Test name duplicate: test 37\n',
     '2020-03-25T04:22:38.274Z project Test name duplicate: test 40\n',
     '2020-03-25T04:22:38.274Z project Processed executed tests\n',
     '2020-03-25T04:22:38.294Z project Processed code coverage\n',
     '2020-03-25T04:22:38.442Z project Test run result processed and sent to IDE\n',
     '2020-03-25T04:22:42.548Z fs File changed in editor: service.spec.ts\n',
     '2020-03-25T04:22:42.556Z project Test run started; run priority: 2\n',
     '2020-03-25T04:22:42.557Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
     '2020-03-25T04:22:42.563Z workers Starting test run, priority: 2\n',
     '2020-03-25T04:22:42.563Z nodeRunner Starting sandbox [worker #0, session #mzmel]\n',
     '2020-03-25T04:22:42.563Z nodeRunner Preparing sandbox [worker #0, session #mzmel]\n',
     '2020-03-25T04:22:42.563Z nodeRunner Prepared sandbox [worker #0, session #mzmel]\n',
     '2020-03-25T04:22:42.563Z workers [worker #0, session #mzmel] Running tests in sandbox\n',
     '2020-03-25T04:22:49.541Z workers [mzmel] Loaded unknown number of test(s)\n',
     '2020-03-25T04:22:49.548Z workers [mzmel] Test executed: Test 34\n',
     '2020-03-25T04:22:49.584Z workers [mzmel] Run 1 test(s), skipped 42 test(s)\n',
     '2020-03-25T04:22:49.585Z workers [mzmel] Sandbox is responsive, closing it\n',
     '2020-03-25T04:22:49.585Z project Test run finished\n',
     '2020-03-25T04:22:49.585Z project Processed console.log entries\n',
     '2020-03-25T04:22:49.585Z project Processed loading sequences\n',
     '2020-03-25T04:22:49.586Z project Processed executed tests\n',
     '2020-03-25T04:22:49.594Z project Processed code coverage\n',
     '2020-03-25T04:22:49.656Z project Test run result processed and sent to IDE\n' ] }

Here is the Console output:

[Info]  console.log: Jest: FAIL service.spec.ts (6.914s)
[Info]  console.log: Jest:   ● Service › Test 34
[Info]      expect(received).toBe(expected) // Object.is equality
[Info]      Expected: 1112.9
[Info]      Received: 112.9
[Info]        at Object.it (service.spec.ts:1623:82)
[Info]  Finished executing 1 affected test(s) in 7.02 second(s)
ArtemGovorov commented 4 years ago

Thanks for providing the output. As you may see from the output, it takes Jest 6.914s to run your test file after the very first change. Wallaby is only adding ~150ms on top of that. Most of the 7s time is spent in Jest (not in Wallaby) to:

There's not much we can do to speed up ts-jest. Also the delay will only happen after the very first edit of your test file (after the run is finished ts-jest should cache a lot).

You can also try a couple of things to speed it up:

michael-golden commented 4 years ago

Thank you! I'll give that a shot. Do you have an example of using babel as the compiler for wallaby?

is this as simple as the following?:

compilers: {
      '**/*.ts': wallaby.compilers.babel()
    }

Edit: Can confirm, switching to babel is nearly instant. Thank you, again!

ArtemGovorov commented 4 years ago

@michael-golden You don't need any Wallaby config to enable TypeScript Babel compiler for Wallaby, just need to modify your Babel/Jest config to remove ts-jest transform and use Babel.