Created
June 13, 2024 00:30
-
-
Save dgp1130/e795d5d540ec98de7aac02a363f56998 to your computer and use it in GitHub Desktop.
Angular CLI Node Test Runner Example Failure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Running test "tests/web-test-runner/basic" (1 of 1)... | |
Executing: `/usr/local/google/home/douglasparker/.cache/bazel/_bazel_douglasparker/fd23369152ca483d39c1138566f81234/execroot/angular_cli/bazel-out/k8-fastbuild/bin/tests/legacy-cli/e2e_node20.sh.runfiles/build_bazel_rules_nodejs/internal/node/_node_bin/node "--test" "/usr/local/google/home/douglasparker/.cache/bazel/_bazel_douglasparker/fd23369152ca483d39c1138566f81234/execroot/angular_cli/bazel-out/k8-fastbuild/bin/tests/legacy-cli/e2e_node20.sh.runfiles/angular_cli/tests/legacy-cli/e2e/utils/test_process.js"` | |
TAP version 13 | |
# ========================================================================================== | |
# Running `npm "install" "@web/test-runner" "--save-dev"` [silent]... | |
# CWD: /usr/local/google/home/douglasparker/Temp/angular-cli-e2e-SHplZN/e2e-test/test-project | |
# ========================================================================================== | |
# Running `ng "test"`... | |
# CWD: /usr/local/google/home/douglasparker/Temp/angular-cli-e2e-SHplZN/e2e-test/test-project | |
# NOTE: The Web Test Runner builder is currently STABLE and not ready for production use. | |
# The 'assets' option is not yet supported by this builder. | |
# The 'styles' option is not yet supported by this builder. | |
# The 'inlineStyleLanguage' option is not yet supported by this builder. | |
# The 'stylePreprocessorOptions' option is not yet supported by this builder. | |
# The 'sourceMap' option is not yet supported by this builder. | |
# The 'browsers' option is not yet supported by this builder. | |
# - Building... | |
# Initial chunk files | Names | Raw size | |
# polyfills.js | polyfills | 921.12 kB | | |
# | Initial total | 921.12 kB | |
# Lazy chunk files | Names | Raw size | |
# chunk-O6K2LE3O.js | - | 2.22 MB | | |
# jasmine.js | jasmine | 264.76 kB | | |
# app.component.spec.js | app-component-spec | 239.05 kB | | |
# testing.js | zone-testing | 65.68 kB | | |
# jasmine_runner.js | jasmine_runner | 49.71 kB | | |
# chunk-TTULUY32.js | - | 1.99 kB | | |
# Output location: /usr/local/google/home/douglasparker/Temp/angular-cli-e2e-SHplZN/e2e-test/test-project/dist/test-out | |
# Application bundle generation complete. [1.734 seconds] | |
# Chrome: |██████████████████████████████| 0/1 test files | 0 passed, 0 failed | |
# Running tests... | |
dist/test-out/browser/app.component.spec.js: | |
# 🚧 Browser logs: | |
# Tests passed! | |
# Chrome: |██████████████████████████████| 1/1 test files | 3 passed, 0 failed | |
# Finished running tests in 1s, all tests passed! 🎉 | |
# Subtest: /usr/local/google/home/douglasparker/.cache/bazel/_bazel_douglasparker/fd23369152ca483d39c1138566f81234/execroot/angular_cli/bazel-out/k8-fastbuild/bin/tests/legacy-cli/e2e_node20.sh.runfiles/angular_cli/tests/legacy-cli/e2e/tests/web-test-runner/basic | |
not ok 1 - /usr/local/google/home/douglasparker/.cache/bazel/_bazel_douglasparker/fd23369152ca483d39c1138566f81234/execroot/angular_cli/bazel-out/k8-fastbuild/bin/tests/legacy-cli/e2e_node20.sh.runfiles/angular_cli/tests/legacy-cli/e2e/tests/web-test-runner/basic | |
--- | |
duration_ms: 11568.399027 | |
location: '/usr/local/google/home/douglasparker/.cache/bazel/_bazel_douglasparker/fd23369152ca483d39c1138566f81234/execroot/angular_cli/bazel-out/k8-fastbuild/bin/tests/legacy-cli/e2e/utils/test_process.js:13:20' | |
failureType: 'testCodeFailure' | |
error: |- | |
The input did not match the regular expression /Web Test Runner builder is currently EXPERIMENTAL/. Input: | |
'NOTE: The Web Test Runner builder is currently STABLE and not ready for production use.\n' + | |
"The 'assets' option is not yet supported by this builder.\n" + | |
"The 'styles' option is not yet supported by this builder.\n" + | |
"The 'inlineStyleLanguage' option is not yet supported by this builder.\n" + | |
"The 'stylePreprocessorOptions' option is not yet supported by this builder.\n" + | |
"The 'sourceMap' option is not yet supported by this builder.\n" + | |
"The 'browsers' option is not yet supported by this builder.\n" + | |
'- Building...\n' + | |
'\n' | |
code: 'ERR_ASSERTION' | |
name: 'AssertionError' | |
expected: | |
actual: |- | |
NOTE: The Web Test Runner builder is currently STABLE and not ready for production use. | |
The 'assets' option is not yet supported by this builder. | |
The 'styles' option is not yet supported by this builder. | |
The 'inlineStyleLanguage' option is not yet supported by this builder. | |
The 'stylePreprocessorOptions' option is not yet supported by this builder. | |
The 'sourceMap' option is not yet supported by this builder. | |
The 'browsers' option is not yet supported by this builder. | |
- Building... | |
operator: 'match' | |
stack: |- | |
TestContext.default_1 (/usr/local/google/home/douglasparker/.cache/bazel/_bazel_douglasparker/fd23369152ca483d39c1138566f81234/execroot/angular_cli/bazel-out/k8-fastbuild/bin/tests/legacy-cli/e2e/tests/web-test-runner/basic.js:13:27) | |
process.processTicksAndRejections (node:internal/process/task_queues:95:5) | |
async Test.run (node:internal/test_runner/test:632:9) | |
async startSubtest (node:internal/test_runner/harness:216:3) | |
... | |
1..1 | |
# tests 1 | |
# suites 0 | |
# pass 0 | |
# fail 1 | |
# cancelled 0 | |
# skipped 0 | |
# todo 0 | |
# duration_ms 11717.114265 | |
Test "tests/web-test-runner/basic" failed... | |
Process error (code 1) - `/usr/local/google/home/douglasparker/.cache/bazel/_bazel_douglasparker/fd23369152ca483d39c1138566f81234/execroot/angular_cli/bazel-out/k8-fastbuild/bin/tests/legacy-cli/e2e_node20.sh.runfiles/build_bazel_rules_nodejs/internal/node/_node_bin/node "--test" "/usr/local/google/home/douglasparker/.cache/bazel/_bazel_douglasparker/fd23369152ca483d39c1138566f81234/execroot/angular_cli/bazel-out/k8-fastbuild/bin/tests/legacy-cli/e2e_node20.sh.runfiles/angular_cli/tests/legacy-cli/e2e/utils/test_process.js"` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment