Skip to content

add testing utility, update platforms tests to accommodate name chang… #1136

add testing utility, update platforms tests to accommodate name chang…

add testing utility, update platforms tests to accommodate name chang… #1136

Triggered via push September 6, 2023 14:20
Status Failure
Total duration 53s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
lint: src/utils/__tests__/use-platform-list.test.js#L21
Insert `⏎···`
lint: src/utils/__tests__/use-platform-list.test.js#L55
Insert `⏎···`
lint: src/utils/__tests__/use-platform-list.test.js#L87
Insert `⏎···`
lint: src/utils/__tests__/use-platform-list.test.js#L122
Insert `⏎···`
lint: src/utils/rename-category-test-util.js#L1
Replace `(category)` with `category`
lint: src/utils/rename-category-test-util.js#L2
Replace `····if·(category·===·"Aircraft")·return·"Air-based·platforms";` with `··if·(category·===·"Aircraft")·return·"Air-based·platforms"`
lint: src/utils/rename-category-test-util.js#L3
Replace `····return·category;` with `··return·category`
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: styfle/cancel-workflow-action@0.8.0, actions/checkout@v2, actions/setup-node@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/