Skip to content

Add tests

Add tests #195

Triggered via pull request November 20, 2024 23:21
@SydZeroSydZero
synchronize #71
AddTests
Status Success
Total duration 3m 28s
Artifacts

npm_build_test.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 6 warnings
test/API_GetMethods.test.tsx > API get functions tests > should handle error correctly for getPropertyById: frontend/test/API_GetMethods.test.tsx#L367
AssertionError: expected [Function] to throw error including 'Network error' but got 'Failed to fetch property. Please try …' Expected: "Network error" Received: "Failed to fetch property. Please try again later." ❯ test/API_GetMethods.test.tsx:367:5
build (18.x, macos-latest)
Process completed with exit code 1.
test/API_GetMethods.test.tsx > API get functions tests > should handle error correctly for getPropertyById: frontend/test/API_GetMethods.test.tsx#L367
AssertionError: expected [Function] to throw error including 'Network error' but got 'Failed to fetch property. Please try …' Expected: "Network error" Received: "Failed to fetch property. Please try again later." ❯ test/API_GetMethods.test.tsx:367:5
build (18.x, ubuntu-latest)
Process completed with exit code 1.
test/API_GetMethods.test.tsx > API get functions tests > should handle error correctly for getPropertyById: frontend/test/API_GetMethods.test.tsx#L367
AssertionError: expected [Function] to throw error including 'Network error' but got 'Failed to fetch property. Please try …' Expected: "Network error" Received: "Failed to fetch property. Please try again later." ❯ test/API_GetMethods.test.tsx:367:5
build (16.x, macos-latest)
Process completed with exit code 1.
test/API_GetMethods.test.tsx > API get functions tests > should handle error correctly for getPropertyById: frontend/test/API_GetMethods.test.tsx#L367
AssertionError: expected [Function] to throw error including 'Network error' but got 'Failed to fetch property. Please try …' Expected: "Network error" Received: "Failed to fetch property. Please try again later." ❯ test/API_GetMethods.test.tsx:367:5
build (16.x, ubuntu-latest)
Process completed with exit code 1.
test/API_GetMethods.test.tsx > API get functions tests > should handle error correctly for getPropertyById: frontend/test/API_GetMethods.test.tsx#L367
AssertionError: expected [Function] to throw error including 'Network error' but got 'Failed to fetch property. Please try …' Expected: "Network error" Received: "Failed to fetch property. Please try again later." ❯ test/API_GetMethods.test.tsx:367:5
build (16.x, windows-latest)
Process completed with exit code 1.
test/API_GetMethods.test.tsx > API get functions tests > should handle error correctly for getPropertyById: frontend/test/API_GetMethods.test.tsx#L367
AssertionError: expected [Function] to throw error including 'Network error' but got 'Failed to fetch property. Please try …' Expected: "Network error" Received: "Failed to fetch property. Please try again later." ❯ test/API_GetMethods.test.tsx:367:5
build (18.x, windows-latest)
Process completed with exit code 1.
build (18.x, macos-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (18.x, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (16.x, macos-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (16.x, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (16.x, windows-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (18.x, windows-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/