Skip to content

Merge pull request #132 from mikenichols/rewrite-expiration-year-tests #100

Merge pull request #132 from mikenichols/rewrite-expiration-year-tests

Merge pull request #132 from mikenichols/rewrite-expiration-year-tests #100

Triggered via push January 9, 2025 17:59
Status Failure
Total duration 25s
Artifacts

ci.yml

on: push
Unit Tests on Ubuntu
15s
Unit Tests on Ubuntu
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Unit Tests on Ubuntu: src/__tests__/expiration-year.ts#L79
Replace `⏎········["a",·"#",·";",·"\\",·"+"]⏎······` with `["a",·"#",·";",·"\\",·"+"]`
Unit Tests on Ubuntu: src/__tests__/expiration-year.ts#L87
Replace `⏎········["0",·"1",·"2",·"3",·"4",·"5",·"6",·"7",·"8",·"9"]` with `["0",·"1",·"2",·"3",·"4",·"5",·"6",·"7",·"8",·"9"])(`
Unit Tests on Ubuntu: src/__tests__/expiration-year.ts#L89
Replace `)("%p·is·potentially·valid",` with `··"%p·is·potentially·valid",⏎·······`
Unit Tests on Ubuntu: src/__tests__/expiration-year.ts#L91
Replace `}` with `··},⏎······`
Unit Tests on Ubuntu: src/__tests__/expiration-year.ts#L147
Replace `⏎······["00000",·"12345",·"20021",·"20202",·"20211",·"30000",·"99999"]` with `["00000",·"12345",·"20021",·"20202",·"20211",·"30000",·"99999"])(`
Unit Tests on Ubuntu: src/__tests__/expiration-year.ts#L149
Replace `)("%p·is·invalid",` with `··"%p·is·invalid",⏎·····`
Unit Tests on Ubuntu: src/__tests__/expiration-year.ts#L151
Replace `}` with `··},⏎····`
Unit Tests on Ubuntu
Process completed with exit code 1.
Unit Tests on Ubuntu
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit Tests on Ubuntu: src/card-number.ts#L5
Unexpected 'todo' comment: 'TODO this should probably come from...'