Skip to content

Test suite didn't run is not logged #21

@NiklasJonsson6

Description

@NiklasJonsson6

Logs from specs pods

Files will be modified to trigger rerun: [ '/usr/src/specs/test.spec.js' ]
[specs] FAIL ./test.spec.js
[specs]   ● Test suite failed to run
[specs] 
[specs]     Cannot find module 'chai' from 'specs/test.spec.js'
[specs] 
[specs]     > 1 | const { expect } = require("chai");
[specs]         |                    ^
[specs]       2 | 
[specs]       3 | // Magic url
[specs]       4 | const boardUrl = 'http://board/v4/puga2-a4e400cebffd7915df856f156961d16d3838b83f-placedemo/one/board/';
[specs] 
[specs]       at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:308:11)
[specs]       at Object.<anonymous> (specs/test.spec.js:1:20)
[specs] 
[specs] Test Suites: 1 failed, 1 total
[specs] Tests:       0 total
[specs] Snapshots:   0 total
[specs] 
[specs] Time:        1.99 s
[specs] Ran all test suites related to changed files.

Exported metrics

# HELP assertions_failed current numFailingTests incrementally aggregated per run per path
# TYPE assertions_failed gauge
assertions_failed 0

# HELP assertions_failed_total inc'd for every onTestResult numFailingTests
# TYPE assertions_failed_total counter
assertions_failed_total 0

# HELP tests_run current onRunComplete numTotalTests
# TYPE tests_run gauge
tests_run 0

# HELP tests_run_total inc'd for every onRunComplete numTotalTests
# TYPE tests_run_total counter
tests_run_total 10

# HELP test_suites_run current onRunComplete numTotalTestSuites
# TYPE test_suites_run gauge
test_suites_run 1

# HELP test_suites_run_total inc'd for every onRunComplete numTotalTestSuites
# TYPE test_suites_run_total counter
test_suites_run_total 16

# HELP assert_files_seen Unique spec file paths that have been seen in onTestResult
# TYPE assert_files_seen gauge
assert_files_seen 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions