Closed tamascsaba closed 3 years ago
Have you recently updated your NX dependencies? Could you please share your Wallaby Diagnostics report?
I removed some sensitive dependencies, at this case the problem is moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths, { prefix: '<rootDir>/' }),
is missing from jest.config.wallaby.js
, but the app jest.config.js (apps/on-prem/jest.config.js
) contains it, but wallaby don't detect is correctly now, previously it works well. We didn't update nx or angular recently.
{
editorVersion: 'WebStorm 2021.1',
pluginVersion: '1.0.216',
editorType: 'IntelliJ',
osVersion: 'darwin 19.6.0',
nodeVersion: 'v12.19.0',
coreVersion: '1.0.1055',
checksum: 'Yzk2MjA2MTcwOTM5MDg3NWZiZWM5YWQwNGYyMmRlN2EsMTYxNzIzNTIwMDAwMCww',
config: {
trace: true,
testFramework: { version: 'jest@24.8.0', configurator: 'jest@24.8.0', reporter: 'jest@24.8.0', starter: 'jest@24.8.0', configFile: './jest.config.wallaby.js', autoDetected: true },
diagnostics: {
jest: {
config: {
configs: [
{
automock: false,
cache: true,
cacheDirectory: '/private/var/folders/r1/55pykxls47x15kgqjx47qzb80000gp/T/jest_dy',
clearMocks: false,
coveragePathIgnorePatterns: [ '/node_modules/' ],
cwd: '<homeDir>/Projects/scb-ui',
dependencyExtractor: undefined,
detectLeaks: undefined,
detectOpenHandles: undefined,
displayName: undefined,
errorOnDeprecated: false,
extraGlobals: [],
filter: undefined,
forceCoverageMatch: [],
globalSetup: undefined,
globalTeardown: undefined,
globals: {
'ts-jest': {
tsconfig: 'tsconfig.test.json',
stringifyContentPathRegex: '\\.(html|svg)$',
astTransformers: {
before: [
'jest-preset-angular/build/InlineFilesTransformer',
'jest-preset-angular/build/StripStylesTransformer',
'jest-preset-angular/build/InlineFilesTransformer',
'jest-preset-angular/build/StripStylesTransformer'
]
},
isolatedModules: true,
diagnostics: false
}
},
haste: { computeSha1: false, throwOnModuleCollision: false },
injectGlobals: true,
moduleDirectories: [ 'node_modules' ],
moduleFileExtensions: [ 'ts', 'js', 'html' ],
moduleLoader: undefined,
moduleNameMapper: [
[ '^src/(.*)$', '<homeDir>/Projects/scb-ui/src/$1' ],
[ '^app/(.*)$', '<homeDir>/Projects/scb-ui/src/app/$1' ],
[ '^assets/(.*)$', '<homeDir>/Projects/scb-ui/src/assets/$1' ],
[ '^environments/(.*)$', '<homeDir>/Projects/scb-ui/src/environments/$1' ]
],
modulePathIgnorePatterns: [],
modulePaths: undefined,
name: '909abfd8d48fa50c19ff0c7632aeb107',
prettierPath: 'prettier',
resetMocks: false,
resetModules: false,
resolver: undefined,
restoreMocks: false,
rootDir: '<homeDir>/Projects/scb-ui',
roots: [ '<homeDir>/Projects/scb-ui' ],
runner: 'jest-runner',
setupFiles: [],
setupFilesAfterEnv: [],
skipFilter: false,
skipNodeResolution: undefined,
slowTestThreshold: 5,
snapshotResolver: undefined,
snapshotSerializers: [
'<homeDir>/Projects/scb-ui/node_modules/jest-preset-angular/build/serializers/no-ng-attributes.js',
'<homeDir>/Projects/scb-ui/node_modules/jest-preset-angular/build/serializers/ng-snapshot.js',
'<homeDir>/Projects/scb-ui/node_modules/jest-preset-angular/build/serializers/html-comment.js'
],
testEnvironment: '<homeDir>/Projects/scb-ui/node_modules/jest-environment-jsdom/build/index.js',
testEnvironmentOptions: {},
testLocationInResults: false,
testMatch: [ '**/+(*.)+(test).+(ts|js)?(x)' ],
testPathIgnorePatterns: [ '/node_modules/' ],
testRegex: [],
testRunner: '<homeDir>/Projects/scb-ui/node_modules/jest-jasmine2/build/index.js',
testURL: 'http://localhost',
timers: 'real',
transform: [ [ '^.+\\.(ts|js|html)$', '<homeDir>/Projects/scb-ui/node_modules/ts-jest/dist/index.js', {} ] ],
transformIgnorePatterns: [ './node_modules/(?!validator)' ],
unmockedModulePathPatterns: undefined,
watchPathIgnorePatterns: [ '<homeDir>/Projects/scb-ui/node_modules/', '<homeDir>/Projects/scb-ui/.idea/' ]
}
],
globalConfig: {
bail: 0,
changedFilesWithAncestor: false,
changedSince: undefined,
collectCoverage: false,
collectCoverageFrom: [],
collectCoverageOnlyFrom: undefined,
coverageDirectory: '<homeDir>/Projects/scb-ui/coverage',
coverageProvider: 'babel',
coverageReporters: [],
coverageThreshold: undefined,
detectLeaks: undefined,
detectOpenHandles: undefined,
enabledTestsMap: undefined,
errorOnDeprecated: false,
expand: false,
filter: undefined,
findRelatedTests: false,
forceExit: false,
globalSetup: undefined,
globalTeardown: undefined,
json: false,
lastCommit: false,
listTests: undefined,
logHeapUsage: false,
maxConcurrency: 5,
maxWorkers: 1,
noSCM: undefined,
noStackTrace: false,
nonFlagArgs: undefined,
notify: false,
notifyMode: 'failure-change',
onlyChanged: false,
onlyFailures: false,
outputFile: undefined,
passWithNoTests: undefined,
projects: [],
replname: undefined,
reporters: [],
rootDir: '<homeDir>/Projects/scb-ui',
runTestsByPath: false,
silent: undefined,
skipFilter: false,
testFailureExitCode: 1,
testNamePattern: undefined,
testPathPattern: '',
testResultsProcessor: undefined,
testSequencer: '<homeDir>/Projects/scb-ui/node_modules/@jest/test-sequencer/build/index.js',
testTimeout: undefined,
updateSnapshot: 'new',
useStderr: false,
verbose: undefined,
watch: false,
watchAll: false,
watchPlugins: undefined,
watchman: true
},
hasDeprecationWarnings: false,
wallaby: {
roots: [],
watchPathIgnorePatterns: [ '/node_modules/', '\\./dist/|\\./build/|\\./coverage/|/\\..+/', '\\./node_modules/', '\\./.idea/' ],
testPathIgnorePatterns: [ '/node_modules/', '\\./dist/|\\./build/|\\./coverage/|/\\..+/', '\\./node_modules/', '\\./.idea/' ],
testMatch: [ '**/+(*.)+(test).+(ts|js)?(x)' ],
testRegex: []
}
}
}
},
filesWithCoverageCalculated: [],
filesWithNoCoverageCalculated: [],
globalSetup: false,
micromatch: true,
files: [
{ pattern: '/node_modules/', regexp: /\/node_modules\//, ignore: true, trigger: true, load: true },
{ pattern: '\\./dist/|\\./build/|\\./coverage/|/\\..+/', regexp: /\.\/dist\/|\.\/build\/|\.\/coverage\/|\/\..+\//, ignore: true, trigger: true, load: true },
{ pattern: '\\./node_modules/', regexp: /\.\/node_modules\//, ignore: true, trigger: true, load: true },
{ pattern: '\\./.idea/', regexp: /\.\/.idea\//, ignore: true, trigger: true, load: true },
{ pattern: '**/**', ignore: false, trigger: true, load: true, order: 1 },
{ pattern: '**/+(*.)+(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/|/\\..+/', regexp: /\.\/dist\/|\.\/build\/|\.\/coverage\/|\/\..+\//, ignore: true, trigger: true, load: true, test: true },
{ pattern: '\\./node_modules/', regexp: /\.\/node_modules\//, ignore: true, trigger: true, load: true, test: true },
{ pattern: '\\./.idea/', regexp: /\.\/.idea\//, ignore: true, trigger: true, load: true, test: true },
{ pattern: '**/+(*.)+(test).+(ts|js)?(x)', ignore: false, trigger: true, load: true, test: true, order: 2 }
],
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,
extensions: {},
env: { type: 'node', params: {}, runner: '<homeDir>/n/bin/node', viewportSize: { width: 800, height: 600 }, options: { width: 800, height: 600 }, bundle: true },
reportUnhandledPromises: true,
slowTestThreshold: 75,
lowCoverageThreshold: 80,
loose: true,
configCode: '/**\n' +
' * @copyright One Identity 2021\n' +
' * @license All Rights Reserved\n' +
' */\n' +
'\n' +
'module.exports = () => ({\n' +
' autoDetect: true,\n' +
' trace: true,\n' +
' testFramework: {\n' +
" configFile: './jest.config.wallaby.js',\n" +
' },\n' +
'});\n'
},
packageJSON: {
dependencies: {
'@angular/animations': '^10.2.3',
'@angular/cdk': '^10.2.7',
'@angular/common': '^10.2.3',
'@angular/compiler': '^10.2.3',
'@angular/core': '^10.2.3',
'@angular/flex-layout': '^10.0.0-beta.32',
'@angular/forms': '^10.2.3',
'@angular/material': '^10.2.7',
'@angular/material-moment-adapter': '^10.2.7',
'@angular/platform-browser': '^10.2.3',
'@angular/platform-browser-dynamic': '^10.2.3',
'@angular/router': '^10.2.3',
.....
'zone.js': '^0.11.1'
},
devDependencies: {
'@angular-builders/jest': '10.0.1',
'@angular-devkit/build-angular': '~0.1002.0',
'@angular-eslint/eslint-plugin': '^1.2.0',
'@angular-eslint/eslint-plugin-template': '^1.2.0',
'@angular-eslint/template-parser': '^1.2.0',
'@angular/cli': '^10.2.0',
'@angular/compiler-cli': '^10.2.3',
'@angular/language-service': '^10.2.3',
'@nrwl/angular': '^12.1.1',
'@nrwl/cli': '^12.1.1',
'@nrwl/cypress': '^12.1.1',
'@nrwl/eslint-plugin-nx': '^12.1.1',
'@nrwl/jest': '^12.1.1',
'@nrwl/linter': '^12.1.1',
'@nrwl/tao': '^12.1.1',
'@nrwl/workspace': '^12.1.1',
'@testing-library/angular': '^10.2.1',
'@testing-library/dom': '^7.28.1',
'@testing-library/jest-dom': '^5.11.6',
'@testing-library/user-event': '^12.2.2',
'@types/binary-parser': '^1.5.0',
'@types/d3': '^5.0.1',
'@types/faker': '^4.1.12',
'@types/file-saver': '^2.0.1',
'@types/jest': '^26.0.15',
'@types/lodash': '^4.14.161',
'@types/node': '^12.11.1',
'@types/node-forge': '^0.9.4',
'@typescript-eslint/eslint-plugin': '^4.9.0',
'@typescript-eslint/eslint-plugin-tslint': '^4.9.0',
'@typescript-eslint/parser': '^4.9.0',
'@wdio/selenium-standalone-service': '^6.9.0',
axios: '^0.19.2',
'base64-arraybuffer': '^0.2.0',
codeceptjs: '^3.0.2',
'codeceptjs-resemblehelper': '^1.9.1',
'codeceptjs-saucehelper': '^1.4.0',
codelyzer: '^6.0.1',
cypress: '^7.0.0',
dotenv: '^8.0.0',
eslint: '^7.14.0',
'eslint-plugin-import': '^2.22.1',
'eslint-plugin-jsdoc': '^30.7.8',
'eslint-plugin-no-null': '^1.0.2',
'eslint-plugin-prefer-arrow': '^1.2.2',
'eslint-plugin-react': '^7.21.5',
'eslint-plugin-unicorn': '^23.0.0',
express: '^4.16.4',
faker: '^4.1.0',
gherkin: '^5.1.0',
husky: '^1.1.2',
jest: '^26.6.3',
'jest-junit': '^12.0.0',
'jest-preset-angular': '^8.4.0',
'license-checker': '^25.0.1',
'lint-staged': '10.5.1',
mockdate: '^3.0.2',
'ng-mocks': '^11.10.1',
prettier: '2.1.2',
'sass-lint': '^1.13.1',
'sauce-connect-launcher': '^1.3.2',
snyk: '^1.104.2',
'ts-jest': '^26.5.4',
'ts-node': '^8.9.1',
'tsconfig-paths': '^3.6.0',
typescript: '~4.0.3',
'wallaby-webpack': '^3.9.15',
webdriverio: '^6.9.1'
}
},
fs: { numberOfFiles: 2068 },
debug: [
'2021-05-20T08:42:08.937Z angular/cli config Detected Angular CLI.\n',
'2021-05-20T08:42:08.940Z angular/cli config @nrwl/workspace v11.1.4 and higher uses jest automatic configuration.\n',
'2021-05-20T08:42:09.054Z jest/config Detected Jest.\n',
'2021-05-20T08:42:09.055Z jest/config Configured Jest.\n',
'2021-05-20T08:42:09.056Z project Wallaby Node version: v12.19.0\n',
'2021-05-20T08:42:09.056Z project Wallaby config: <homeDir>/Projects/scb-ui/wallaby.js\n',
'2021-05-20T08:42:09.674Z project File cache: <homeDir>/Library/Caches/JetBrains/WebStorm2021.1/wallaby/projects/78a784be9dae795c\n',
'2021-05-20T08:42:09.762Z uiService Listening port 51235\n',
'2021-05-20T08:42:09.775Z project Config file change detected, invalidating local cache\n',
'2021-05-20T08:42:09.916Z workers Parallelism for initial run: 14, for regular run: 7\n',
'2021-05-20T08:42:09.916Z workers Starting run worker instance #0\n',
'2021-05-20T08:42:09.917Z workers Starting run worker instance #1\n',
'2021-05-20T08:42:09.917Z workers Starting run worker instance #2\n',
'2021-05-20T08:42:09.917Z workers Starting run worker instance #3\n',
'2021-05-20T08:42:09.917Z workers Starting run worker instance #4\n',
'2021-05-20T08:42:09.917Z workers Starting run worker instance #5\n',
'2021-05-20T08:42:09.917Z workers Starting run worker instance #6\n',
'2021-05-20T08:42:09.917Z workers Starting run worker instance #7\n',
'2021-05-20T08:42:09.917Z workers Starting run worker instance #8\n',
'2021-05-20T08:42:09.917Z workers Starting run worker instance #9\n',
'2021-05-20T08:42:09.917Z workers Starting run worker instance #10\n',
'2021-05-20T08:42:09.917Z workers Starting run worker instance #11\n',
'2021-05-20T08:42:09.917Z workers Starting run worker instance #12\n',
'2021-05-20T08:42:09.917Z workers Starting run worker instance #13\n',
'2021-05-20T08:42:09.917Z workers Web server is listening at 64345\n',
'2021-05-20T08:42:09.917Z project File cache requires some updates, waiting required files from IDE\n',
'2021-05-20T08:42:10.251Z workers Started run worker instance (delayed) #2\n',
'2021-05-20T08:42:10.251Z workers Started run worker instance (delayed) #3\n',
'2021-05-20T08:42:10.251Z workers Started run worker instance (delayed) #7\n',
'2021-05-20T08:42:10.252Z workers Started run worker instance (delayed) #1\n',
'2021-05-20T08:42:10.252Z workers Started run worker instance (delayed) #4\n',
'2021-05-20T08:42:10.252Z workers Started run worker instance (delayed) #6\n',
'2021-05-20T08:42:10.253Z workers Started run worker instance (delayed) #8\n',
'2021-05-20T08:42:10.253Z workers Started run worker instance (delayed) #13\n',
'2021-05-20T08:42:10.253Z workers Started run worker instance (delayed) #5\n',
'2021-05-20T08:42:10.253Z workers Started run worker instance (delayed) #0\n',
'2021-05-20T08:42:10.254Z workers Started run worker instance (delayed) #12\n',
'2021-05-20T08:42:10.262Z project Stopping process pool\n',
'2021-05-20T08:42:10.263Z workers Started run worker instance (delayed) #9\n',
'2021-05-20T08:42:10.263Z workers Started run worker instance (delayed) #10\n',
'2021-05-20T08:42:10.263Z workers Started run worker instance (delayed) #11\n',
'2021-05-20T08:42:10.263Z project Test run started; run priority: 3\n',
'2021-05-20T08:42:10.268Z project Running all tests\n',
'2021-05-20T08:42:10.296Z workers Starting test run, priority: 3\n',
'2021-05-20T08:42:10.297Z workers Distributing tests between 14 workers\n',
'2021-05-20T08:42:10.300Z workers Running tests in parallel\n',
'2021-05-20T08:42:10.301Z nodeRunner Starting sandbox [worker #0, session #4l3j8]\n',
'2021-05-20T08:42:10.301Z nodeRunner Starting sandbox [worker #1, session #463mg]\n',
'2021-05-20T08:42:10.301Z nodeRunner Starting sandbox [worker #2, session #3g5hb]\n',
'2021-05-20T08:42:10.301Z nodeRunner Starting sandbox [worker #3, session #l4kpg]\n',
'2021-05-20T08:42:10.301Z nodeRunner Starting sandbox [worker #4, session #7bqsg]\n',
'2021-05-20T08:42:10.301Z nodeRunner Starting sandbox [worker #5, session #565wt]\n',
'2021-05-20T08:42:10.301Z nodeRunner Starting sandbox [worker #6, session #lf2fs]\n',
'2021-05-20T08:42:10.301Z nodeRunner Starting sandbox [worker #7, session #n4qh1]\n',
'2021-05-20T08:42:10.301Z nodeRunner Starting sandbox [worker #8, session #vv5m0]\n',
'2021-05-20T08:42:10.301Z nodeRunner Starting sandbox [worker #9, session #mmdbk]\n',
'2021-05-20T08:42:10.301Z nodeRunner Starting sandbox [worker #10, session #x1rug]\n',
'2021-05-20T08:42:10.301Z nodeRunner Starting sandbox [worker #11, session #w8r5u]\n',
'2021-05-20T08:42:10.302Z nodeRunner Starting sandbox [worker #12, session #7z06r]\n',
'2021-05-20T08:42:10.302Z nodeRunner Starting sandbox [worker #13, session #sru2i]\n',
'2021-05-20T08:42:10.302Z nodeRunner Preparing sandbox [worker #0, session #4l3j8]\n',
'2021-05-20T08:42:10.302Z nodeRunner Preparing sandbox [worker #1, session #463mg]\n',
'2021-05-20T08:42:10.302Z nodeRunner Preparing sandbox [worker #2, session #3g5hb]\n',
'2021-05-20T08:42:10.302Z nodeRunner Preparing sandbox [worker #3, session #l4kpg]\n',
'2021-05-20T08:42:10.302Z nodeRunner Preparing sandbox [worker #4, session #7bqsg]\n',
'2021-05-20T08:42:10.302Z nodeRunner Preparing sandbox [worker #5, session #565wt]\n',
'2021-05-20T08:42:10.302Z nodeRunner Preparing sandbox [worker #6, session #lf2fs]\n',
'2021-05-20T08:42:10.302Z nodeRunner Preparing sandbox [worker #7, session #n4qh1]\n',
'2021-05-20T08:42:10.302Z nodeRunner Preparing sandbox [worker #8, session #vv5m0]\n',
'2021-05-20T08:42:10.302Z nodeRunner Preparing sandbox [worker #9, session #mmdbk]\n',
'2021-05-20T08:42:10.302Z nodeRunner Preparing sandbox [worker #10, session #x1rug]\n',
'2021-05-20T08:42:10.302Z nodeRunner Preparing sandbox [worker #11, session #w8r5u]\n',
'2021-05-20T08:42:10.302Z nodeRunner Preparing sandbox [worker #12, session #7z06r]\n',
'2021-05-20T08:42:10.302Z nodeRunner Preparing sandbox [worker #13, session #sru2i]\n',
'2021-05-20T08:42:10.302Z nodeRunner Prepared sandbox [worker #0, session #4l3j8]\n',
'2021-05-20T08:42:10.302Z nodeRunner Prepared sandbox [worker #1, session #463mg]\n',
'2021-05-20T08:42:10.302Z nodeRunner Prepared sandbox [worker #2, session #3g5hb]\n',
'2021-05-20T08:42:10.302Z nodeRunner Prepared sandbox [worker #3, session #l4kpg]\n',
'2021-05-20T08:42:10.302Z nodeRunner Prepared sandbox [worker #4, session #7bqsg]\n',
'2021-05-20T08:42:10.303Z nodeRunner Prepared sandbox [worker #5, session #565wt]\n',
'2021-05-20T08:42:10.303Z nodeRunner Prepared sandbox [worker #6, session #lf2fs]\n',
'2021-05-20T08:42:10.303Z nodeRunner Prepared sandbox [worker #7, session #n4qh1]\n',
'2021-05-20T08:42:10.303Z nodeRunner Prepared sandbox [worker #8, session #vv5m0]\n',
'2021-05-20T08:42:10.303Z nodeRunner Prepared sandbox [worker #9, session #mmdbk]\n',
'2021-05-20T08:42:10.303Z nodeRunner Prepared sandbox [worker #10, session #x1rug]\n',
'2021-05-20T08:42:10.303Z nodeRunner Prepared sandbox [worker #11, session #w8r5u]\n',
'2021-05-20T08:42:10.303Z nodeRunner Prepared sandbox [worker #12, session #7z06r]\n',
'2021-05-20T08:42:10.303Z nodeRunner Prepared sandbox [worker #13, session #sru2i]\n',
'2021-05-20T08:42:10.303Z workers [worker #0, session #4l3j8] Running tests in sandbox\n',
'2021-05-20T08:42:10.307Z workers [worker #1, session #463mg] Running tests in sandbox\n',
'2021-05-20T08:42:10.310Z workers [worker #2, session #3g5hb] Running tests in sandbox\n',
'2021-05-20T08:42:10.314Z workers [worker #3, session #l4kpg] Running tests in sandbox\n',
'2021-05-20T08:42:10.316Z workers [worker #4, session #7bqsg] Running tests in sandbox\n',
'2021-05-20T08:42:10.318Z workers [worker #5, session #565wt] Running tests in sandbox\n',
'2021-05-20T08:42:10.321Z workers [worker #6, session #lf2fs] Running tests in sandbox\n',
'2021-05-20T08:42:10.323Z workers [worker #7, session #n4qh1] Running tests in sandbox\n',
'2021-05-20T08:42:10.325Z workers [worker #8, session #vv5m0] Running tests in sandbox\n',
'2021-05-20T08:42:10.327Z workers [worker #9, session #mmdbk] Running tests in sandbox\n',
'2021-05-20T08:42:10.328Z workers [worker #10, session #x1rug] Running tests in sandbox\n',
'2021-05-20T08:42:10.330Z workers [worker #11, session #w8r5u] Running tests in sandbox\n',
'2021-05-20T08:42:10.333Z workers [worker #12, session #7z06r] Running tests in sandbox\n',
'2021-05-20T08:42:10.335Z workers [worker #13, session #sru2i] Running tests in sandbox\n',
'2021-05-20T08:42:29.138Z workers Scheduling Jest Test Run: 2021-05-20T08:42:21.059Z\n',
"2021-05-20T08:42:32.780Z workers Sandbox (active) [4l3j8] error: Cannot find module '@on-prem/components/icon' from 'apps/on-prem/src/client/components/alert/alert.module.ts'\n" +
'\n' +
'Require stack:\n' +
' apps/on-prem/src/client/components/alert/alert.module.ts\n' +
' apps/on-prem/src/client/components/alert/alert.component.test.ts\n' +
'\n',
'2021-05-20T08:42:32.784Z workers [4l3j8] Run 0 test(s), skipped 0 test(s)\n',
'2021-05-20T08:42:32.872Z workers Jest Test Run Complete: 2021-05-20T08:42:32.761Z\n',
'2021-05-20T08:42:32.872Z workers [4l3j8] Sandbox is responsive, closing it\n',
'2021-05-20T08:42:33.205Z workers Scheduling Jest Test Run: 2021-05-20T08:42:20.961Z\n',
"2021-05-20T08:42:33.208Z workers Sandbox (active) [7z06r] error: Cannot find module '@on-prem/testing' from 'apps/on-prem/src/client/components/form/toggle-button/toggle-button.component.test.ts'\n",
'2021-05-20T08:42:33.209Z workers [7z06r] Run 0 test(s), skipped 0 test(s)\n',
'2021-05-20T08:42:33.251Z workers Jest Test Run Complete: 2021-05-20T08:42:33.201Z\n',
'2021-05-20T08:42:33.251Z workers [7z06r] Sandbox is responsive, closing it\n',
'2021-05-20T08:42:33.922Z workers Scheduling Jest Test Run: 2021-05-20T08:42:22.090Z\n',
"2021-05-20T08:42:33.925Z workers Sandbox (active) [x1rug] error: Cannot find module '@on-prem/testing/utils' from 'apps/on-prem/src/client/components/experimental-banner/tests/experimental-banner.component.test.ts'\n",
'2021-05-20T08:42:33.925Z workers [x1rug] Run 0 test(s), skipped 0 test(s)\n',
'2021-05-20T08:42:33.968Z workers Jest Test Run Complete: 2021-05-20T08:42:33.919Z\n',
'2021-05-20T08:42:33.969Z workers [x1rug] Sandbox is responsive, closing it\n',
'2021-05-20T08:42:34.565Z workers Scheduling Jest Test Run: 2021-05-20T08:42:22.165Z\n',
"2021-05-20T08:42:34.567Z workers Sandbox (active) [lf2fs] error: Cannot find module '@on-prem/testing/utils' from 'apps/on-prem/src/client/components/code-highlight/tests/code-highlight.component.test.ts'\n",
'2021-05-20T08:42:34.568Z workers [lf2fs] Run 0 test(s), skipped 0 test(s)\n',
'2021-05-20T08:42:34.604Z workers Scheduling Jest Test Run: 2021-05-20T08:42:22.095Z\n',
"2021-05-20T08:42:34.608Z workers Sandbox (active) [mmdbk] error: Cannot find module '@on-prem/testing/utils' from 'apps/on-prem/src/client/components/expanding-card/tests/expanding-card.component.test.ts'\n",
'2021-05-20T08:42:34.609Z workers Jest Test Run Complete: 2021-05-20T08:42:34.559Z\n',
'2021-05-20T08:42:34.609Z workers [mmdbk] Run 0 test(s), skipped 0 test(s)\n',
'2021-05-20T08:42:34.610Z workers [lf2fs] Sandbox is responsive, closing it\n',
'2021-05-20T08:42:34.644Z workers Jest Test Run Complete: 2021-05-20T08:42:34.598Z\n',
'2021-05-20T08:42:34.644Z workers [mmdbk] Sandbox is responsive, closing it\n',
'2021-05-20T08:42:34.905Z workers Scheduling Jest Test Run: 2021-05-20T08:42:23.060Z\n',
'2021-05-20T08:42:34.912Z workers [sru2i] Loaded unknown number of test(s)\n',
'2021-05-20T08:42:34.913Z workers [sru2i] Test executed: should behave as the standard validator if no custom response is defined and it receives a valid value\n',
'2021-05-20T08:42:34.913Z workers [sru2i] Test executed: should behave as the standard validator if no custom response is defined and it receives an invalid value\n',
'2021-05-20T08:42:34.914Z workers [sru2i] Test executed: should behave as the standard validator if a custom response is defined and it receives a valid value\n',
'2021-05-20T08:42:34.914Z workers [sru2i] Test executed: should return the custom response if a custom response is defined and it receives an invalid value\n',
"2021-05-20T08:42:34.915Z workers Sandbox (active) [sru2i] error: Cannot find module '@on-prem/testing' from 'apps/on-prem/src/client/components/lucene-query-link/tests/lucene-query-link.component.test.ts'\n",
'2021-05-20T08:42:34.920Z workers [sru2i] Run 4 test(s), skipped 0 test(s)\n',
'2021-05-20T08:42:34.948Z workers Jest Test Run Complete: 2021-05-20T08:42:34.902Z\n',
'2021-05-20T08:42:34.948Z workers [sru2i] Sandbox is responsive, closing it\n',
'2021-05-20T08:42:34.950Z workers Scheduling Jest Test Run: 2021-05-20T08:42:23.707Z\n',
'2021-05-20T08:42:34.972Z workers Scheduling Jest Test Run: 2021-05-20T08:42:23.706Z\n',
"2021-05-20T08:42:34.975Z workers Sandbox (active) [463mg] error: Cannot find module '@on-prem/components/global-notification' from 'apps/on-prem/src/client/components/basic-search/+basic-search-item/basic-search-item.component.test.ts'\n",
'2021-05-20T08:42:34.976Z workers [463mg] Run 0 test(s), skipped 0 test(s)\n',
'2021-05-20T08:42:35.018Z workers Jest Test Run Complete: 2021-05-20T08:42:34.970Z\n',
'2021-05-20T08:42:35.019Z workers [463mg] Sandbox is responsive, closing it\n',
'2021-05-20T08:42:35.099Z workers Scheduling Jest Test Run: 2021-05-20T08:42:23.058Z\n',
"2021-05-20T08:42:35.100Z workers Sandbox (active) [n4qh1] error: Cannot find module '@on-prem/testing' from 'apps/on-prem/src/client/components/content-header/content-header.test.ts'\n",
'2021-05-20T08:42:35.101Z workers [n4qh1] Run 0 test(s), skipped 0 test(s)\n',
'2021-05-20T08:42:35.132Z workers Jest Test Run Complete: 2021-05-20T08:42:35.096Z\n',
'2021-05-20T08:42:35.132Z workers [n4qh1] Sandbox is responsive, closing it\n',
'2021-05-20T08:42:35.144Z workers Scheduling Jest Test Run: 2021-05-20T08:42:23.418Z\n',
"2021-05-20T08:42:35.146Z workers Sandbox (active) [vv5m0] error: Cannot find module '@on-prem/components/datepicker/datepicker.component' from 'apps/on-prem/src/client/components/datepicker/tests/datepicker.component.test.ts'\n",
'2021-05-20T08:42:35.146Z workers [vv5m0] Run 0 test(s), skipped 0 test(s)\n',
'2021-05-20T08:42:35.173Z workers Jest Test Run Complete: 2021-05-20T08:42:35.140Z\n',
'2021-05-20T08:42:35.173Z workers [vv5m0] Sandbox is responsive, closing it\n',
'2021-05-20T08:42:35.212Z workers Scheduling Jest Test Run: 2021-05-20T08:42:22.820Z\n',
"2021-05-20T08:42:35.214Z workers Sandbox (active) [565wt] error: Cannot find module '@on-prem/testing' from 'apps/on-prem/src/client/components/checkbox/checkbox.component.test.ts'\n",
'2021-05-20T08:42:35.214Z workers [565wt] Run 0 test(s), skipped 0 test(s)\n',
'2021-05-20T08:42:35.247Z workers Jest Test Run Complete: 2021-05-20T08:42:35.210Z\n',
'2021-05-20T08:42:35.247Z workers [565wt] Sandbox is responsive, closing it\n',
'2021-05-20T08:42:35.395Z workers Scheduling Jest Test Run: 2021-05-20T08:42:23.416Z\n',
"2021-05-20T08:42:35.399Z workers Sandbox (active) [w8r5u] error: Cannot find module '@on-prem/testing' from 'apps/on-prem/src/client/components/form/elements/button/button.component.test.ts'\n",
'2021-05-20T08:42:35.401Z workers [w8r5u] Run 0 test(s), skipped 0 test(s)\n',
'2021-05-20T08:42:35.420Z workers Jest Test Run Complete: 2021-05-20T08:42:35.393Z\n',
'2021-05-20T08:42:35.420Z workers [w8r5u] Sandbox is responsive, closing it\n',
'2021-05-20T08:42:35.426Z workers Scheduling Jest Test Run: 2021-05-20T08:42:22.238Z\n',
"2021-05-20T08:42:35.429Z workers Sandbox (active) [l4kpg] error: Cannot find module '@on-prem/testing' from 'apps/on-prem/src/client/components/billboard/billboard.component.test.ts'\n",
'2021-05-20T08:42:35.430Z workers [l4kpg] Run 0 test(s), skipped 0 test(s)\n',
'2021-05-20T08:42:35.463Z workers Jest Test Run Complete: 2021-05-20T08:42:35.425Z\n',
'2021-05-20T08:42:35.463Z workers [l4kpg] Sandbox is responsive, closing it\n',
"2021-05-20T08:42:35.524Z workers Sandbox (active) [7bqsg] error: Cannot find module '@on-prem/testing' from 'apps/on-prem/src/client/components/busy-indicator/busy-indicator.component.test.ts'\n",
'2021-05-20T08:42:35.525Z workers [7bqsg] Run 0 test(s), skipped 0 test(s)\n',
'2021-05-20T08:42:35.556Z workers Jest Test Run Complete: 2021-05-20T08:42:35.522Z\n',
'2021-05-20T08:42:35.556Z workers [7bqsg] Sandbox is responsive, closing it\n',
'2021-05-20T08:42:37.403Z workers Scheduling Jest Test Run: 2021-05-20T08:42:22.846Z\n',
"2021-05-20T08:42:37.404Z workers Sandbox (active) [3g5hb] error: Cannot find module '@on-prem/testing' from 'apps/on-prem/src/client/components/basic-search/basic-search.component.test.ts'\n",
'2021-05-20T08:42:37.404Z workers [3g5hb] Run 0 test(s), skipped 0 test(s)\n',
'2021-05-20T08:42:37.431Z workers Jest Test Run Complete: 2021-05-20T08:42:37.400Z\n',
'2021-05-20T08:42:37.431Z workers [3g5hb] Sandbox is responsive, closing it\n',
'2021-05-20T08:42:37.432Z workers Merging parallel test run results\n',
'2021-05-20T08:42:37.432Z project Test run finished\n',
'2021-05-20T08:42:37.434Z project Processed console.log entries\n',
'2021-05-20T08:42:37.434Z project Processed loading sequences\n',
'2021-05-20T08:42:37.434Z project Processed executed tests\n',
'2021-05-20T08:42:37.459Z project Processed code coverage\n',
'2021-05-20T08:42:37.600Z project Test run result processed and sent to IDE\n'
]
}
Unfortunately we can't replicate your issue using either the latest version of Wallaby or the version of Wallaby that you are using. We created a new nx workspace with two angular apps and all tests are running for us.
Since the version of Wallaby you are using, we have made a number of improvements to how we detect and run Jest multi-project mono-repos. (https://github.com/wallabyjs/public/issues/2687, https://github.com/wallabyjs/public/issues/2689). We have also fixed an angular jest problem on April 21st, 2021 due to a recent change in angular jest-builder that may be affecting you.
Could you please update to use the latest version of Wallaby to see if that fixes your problem? If your license has expired, you may request a trial or else email us for a license (hello@wallabyjs.com).
If it's still not working for you in the latest version, could you please provide us with a sample repo that has the same problem?
Closing this issue out as we haven't heard back.
We use nx with multiple angular application, previously everything works well with automatic configuration, but few days ago its stops working.
The reason wallaby reads only the global
jest.config.js
and ignore apps jest config files, sosetupFilesAfterEnv
,moduleNameMapper
, ''moduleDirectories missing and the test run fail with lot of unexpected error.Core version: core v1.0.1055