Skip to content

expand regex to parse / grades

Sign in for the full log view
GitHub Actions / Tests annotations (🧪 jest-coverage-report-action) failed Oct 7, 2024 in 0s

Test suite run failed

Failed tests: 1/273. Failed suites: 1/18.

Details

Created failed tests' annotations. To disable them, see documentation.

  ● Polish › isType › VI+/VI.1+ is not a valid slash grade

    expect(received).toBe(expected) // Object.is equality

    Expected: false
    Received: true

      14 |     })
      15 |     test('VI+/VI.1+ is not a valid slash grade', () => {
    > 16 |       expect(Polish.isType('VI+/VI.1')).toBe(false)
         |                                         ^
      17 |     })
      18 |   })
      19 |   // describe('Get Score', () => {

      at Object.<anonymous> (src/__tests__/scales/polish.ts:16:41)

Annotations

Check failure on line 15 in src/__tests__/scales/polish.ts

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

Polish > isType > VI+/VI.1+ is not a valid slash grade

Error: expect(received).toBe(expected) // Object.is equality

Expected: false
Received: true
    at Object.<anonymous> (/home/runner/work/sandbag/sandbag/src/__tests__/scales/polish.ts:16:41)
    at Promise.then.completed (/home/runner/work/sandbag/sandbag/node_modules/jest-circus/build/utils.js:293:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/sandbag/sandbag/node_modules/jest-circus/build/utils.js:226:10)
    at _callCircusTest (/home/runner/work/sandbag/sandbag/node_modules/jest-circus/build/run.js:297:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/sandbag/sandbag/node_modules/jest-circus/build/run.js:233:3)
    at _runTestsForDescribeBlock (/home/runner/work/sandbag/sandbag/node_modules/jest-circus/build/run.js:135:9)
    at _runTestsForDescribeBlock (/home/runner/work/sandbag/sandbag/node_modules/jest-circus/build/run.js:130:9)
    at _runTestsForDescribeBlock (/home/runner/work/sandbag/sandbag/node_modules/jest-circus/build/run.js:130:9)
    at run (/home/runner/work/sandbag/sandbag/node_modules/jest-circus/build/run.js:68:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/sandbag/sandbag/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/sandbag/sandbag/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/sandbag/sandbag/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/sandbag/sandbag/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/sandbag/sandbag/node_modules/jest-runner/build/testWorker.js:106:12)