Skip to content

Preparing for deployment #155

Preparing for deployment

Preparing for deployment #155

Triggered via pull request November 15, 2024 19:32
@SydZeroSydZero
synchronize #63
deployment
Status Failure
Total duration 1m 12s
Artifacts

npm_build_test.yml

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

Annotations

21 errors and 1 warning
test/API_CreateMethods.test.tsx > API create functions tests > should create family and return data: frontend/test/API_CreateMethods.test.tsx#L40
AssertionError: expected "wrap" to be called with arguments: [ …(3) ] Received: 1st wrap call: Array [ - "http://localhost:8080/api/families", + "undefined/families", Object { "id": "123", "name": "Test Family", }, Object { "headers": Object { "Content-Type": "application/json", }, }, ] Number of calls: 1 ❯ test/API_CreateMethods.test.tsx:40:26
test/API_CreateMethods.test.tsx > API create functions tests > should create mechanism and return data: frontend/test/API_CreateMethods.test.tsx#L53
AssertionError: expected "wrap" to be called with arguments: [ …(3) ] Received: 1st wrap call: Array [ - "http://localhost:8080/api/mechanism", + "undefined/mechanism", Object { "id": "123", "name": "Test Mechanism", }, Object { "headers": Object { "Content-Type": "application/json", }, }, ] Number of calls: 1 ❯ test/API_CreateMethods.test.tsx:53:26
test/API_CreateMethods.test.tsx > API create functions tests > should create reaction and return data: frontend/test/API_CreateMethods.test.tsx#L66
AssertionError: expected "wrap" to be called with arguments: [ …(3) ] Received: 1st wrap call: Array [ - "http://localhost:8080/api/reactions", + "undefined/reactions", Object { "id": "123", "type": "Test Reaction", }, Object { "headers": Object { "Content-Type": "application/json", }, }, ] Number of calls: 1 ❯ test/API_CreateMethods.test.tsx:66:26
test/API_CreateMethods.test.tsx > API create functions tests > should create species and return data: frontend/test/API_CreateMethods.test.tsx#L79
AssertionError: expected "wrap" to be called with arguments: [ …(3) ] Received: 1st wrap call: Array [ - "http://localhost:8080/api/species", + "undefined/species", Object { "id": "123", "name": "Test Species", }, Object { "headers": Object { "Content-Type": "application/json", }, }, ] Number of calls: 1 ❯ test/API_CreateMethods.test.tsx:79:26
test/API_CreateMethods.test.tsx > API create functions tests > should add species to reaction and return data: frontend/test/API_CreateMethods.test.tsx#L92
AssertionError: expected "wrap" to be called with arguments: [ …(3) ] Received: 1st wrap call: Array [ - "http://localhost:8080/api/reactionspecies", + "undefined/reactionspecies", Object { "reactionId": "123", "speciesId": "456", }, Object { "headers": Object { "Content-Type": "application/json", }, }, ] Number of calls: 1 ❯ test/API_CreateMethods.test.tsx:92:26
test/API_CreateMethods.test.tsx > API create functions tests > should add reaction to mechanism and return data: frontend/test/API_CreateMethods.test.tsx#L105
AssertionError: expected "wrap" to be called with arguments: [ …(3) ] Received: 1st wrap call: Array [ - "http://localhost:8080/api/mechanismreactions", + "undefined/mechanismreactions", Object { "mechanismId": "123", "reactionId": "456", }, Object { "headers": Object { "Content-Type": "application/json", }, }, ] Number of calls: 1 ❯ test/API_CreateMethods.test.tsx:105:26
test/API_CreateMethods.test.tsx > API create functions tests > should add species to mechanism and return data: frontend/test/API_CreateMethods.test.tsx#L118
AssertionError: expected "wrap" to be called with arguments: [ …(3) ] Received: 1st wrap call: Array [ - "http://localhost:8080/api/mechanismspecies", + "undefined/mechanismspecies", Object { "mechanismId": "123", "speciesId": "456", }, Object { "headers": Object { "Content-Type": "application/json", }, }, ] Number of calls: 1 ❯ test/API_CreateMethods.test.tsx:118:26
test/API_CreateMethods.test.tsx > API create functions tests > should create user and return data: frontend/test/API_CreateMethods.test.tsx#L131
AssertionError: expected "wrap" to be called with arguments: [ …(3) ] Received: 1st wrap call: Array [ - "http://localhost:8080/api/users", + "undefined/users", Object { "id": "123", "name": "Test User", }, Object { "headers": Object { "Content-Type": "application/json", }, }, ] Number of calls: 1 ❯ test/API_CreateMethods.test.tsx:131:26
test/API_CreateMethods.test.tsx > API create functions tests > should add user to mechanism and return data: frontend/test/API_CreateMethods.test.tsx#L144
AssertionError: expected "wrap" to be called with arguments: [ …(3) ] Received: 1st wrap call: Array [ - "http://localhost:8080/api/usermechanism", + "undefined/usermechanism", Object { "mechanismId": "456", "userId": "123", }, Object { "headers": Object { "Content-Type": "application/json", }, }, ] Number of calls: 1 ❯ test/API_CreateMethods.test.tsx:144:26
test/API_CreateMethods.test.tsx > API create functions tests > should create family and return data: frontend/test/API_CreateMethods.test.tsx#L184
AssertionError: expected "wrap" to be called with arguments: [ …(3) ] Received: 1st wrap call: Array [ - "http://localhost:8080/api/families", + "undefined/families", Object { "id": "123", "name": "Test Family", }, Object { "headers": Object { "Content-Type": "application/json", }, }, ] Number of calls: 1 ❯ test/API_CreateMethods.test.tsx:184:26
build (16.x)
The job was canceled because "_18_x" failed.
test/API_CreateMethods.test.tsx > API create functions tests > should create family and return data: frontend/test/API_CreateMethods.test.tsx#L40
AssertionError: expected "wrap" to be called with arguments: [ …(3) ] Received: 1st wrap call: Array [ - "http://localhost:8080/api/families", + "undefined/families", Object { "id": "123", "name": "Test Family", }, Object { "headers": Object { "Content-Type": "application/json", }, }, ] Number of calls: 1 ❯ test/API_CreateMethods.test.tsx:40:26
test/API_CreateMethods.test.tsx > API create functions tests > should create mechanism and return data: frontend/test/API_CreateMethods.test.tsx#L53
AssertionError: expected "wrap" to be called with arguments: [ …(3) ] Received: 1st wrap call: Array [ - "http://localhost:8080/api/mechanism", + "undefined/mechanism", Object { "id": "123", "name": "Test Mechanism", }, Object { "headers": Object { "Content-Type": "application/json", }, }, ] Number of calls: 1 ❯ test/API_CreateMethods.test.tsx:53:26
test/API_CreateMethods.test.tsx > API create functions tests > should create reaction and return data: frontend/test/API_CreateMethods.test.tsx#L66
AssertionError: expected "wrap" to be called with arguments: [ …(3) ] Received: 1st wrap call: Array [ - "http://localhost:8080/api/reactions", + "undefined/reactions", Object { "id": "123", "type": "Test Reaction", }, Object { "headers": Object { "Content-Type": "application/json", }, }, ] Number of calls: 1 ❯ test/API_CreateMethods.test.tsx:66:26
test/API_CreateMethods.test.tsx > API create functions tests > should create species and return data: frontend/test/API_CreateMethods.test.tsx#L79
AssertionError: expected "wrap" to be called with arguments: [ …(3) ] Received: 1st wrap call: Array [ - "http://localhost:8080/api/species", + "undefined/species", Object { "id": "123", "name": "Test Species", }, Object { "headers": Object { "Content-Type": "application/json", }, }, ] Number of calls: 1 ❯ test/API_CreateMethods.test.tsx:79:26
test/API_CreateMethods.test.tsx > API create functions tests > should add species to reaction and return data: frontend/test/API_CreateMethods.test.tsx#L92
AssertionError: expected "wrap" to be called with arguments: [ …(3) ] Received: 1st wrap call: Array [ - "http://localhost:8080/api/reactionspecies", + "undefined/reactionspecies", Object { "reactionId": "123", "speciesId": "456", }, Object { "headers": Object { "Content-Type": "application/json", }, }, ] Number of calls: 1 ❯ test/API_CreateMethods.test.tsx:92:26
test/API_CreateMethods.test.tsx > API create functions tests > should add reaction to mechanism and return data: frontend/test/API_CreateMethods.test.tsx#L105
AssertionError: expected "wrap" to be called with arguments: [ …(3) ] Received: 1st wrap call: Array [ - "http://localhost:8080/api/mechanismreactions", + "undefined/mechanismreactions", Object { "mechanismId": "123", "reactionId": "456", }, Object { "headers": Object { "Content-Type": "application/json", }, }, ] Number of calls: 1 ❯ test/API_CreateMethods.test.tsx:105:26
test/API_CreateMethods.test.tsx > API create functions tests > should add species to mechanism and return data: frontend/test/API_CreateMethods.test.tsx#L118
AssertionError: expected "wrap" to be called with arguments: [ …(3) ] Received: 1st wrap call: Array [ - "http://localhost:8080/api/mechanismspecies", + "undefined/mechanismspecies", Object { "mechanismId": "123", "speciesId": "456", }, Object { "headers": Object { "Content-Type": "application/json", }, }, ] Number of calls: 1 ❯ test/API_CreateMethods.test.tsx:118:26
test/API_CreateMethods.test.tsx > API create functions tests > should create user and return data: frontend/test/API_CreateMethods.test.tsx#L131
AssertionError: expected "wrap" to be called with arguments: [ …(3) ] Received: 1st wrap call: Array [ - "http://localhost:8080/api/users", + "undefined/users", Object { "id": "123", "name": "Test User", }, Object { "headers": Object { "Content-Type": "application/json", }, }, ] Number of calls: 1 ❯ test/API_CreateMethods.test.tsx:131:26
test/API_CreateMethods.test.tsx > API create functions tests > should add user to mechanism and return data: frontend/test/API_CreateMethods.test.tsx#L144
AssertionError: expected "wrap" to be called with arguments: [ …(3) ] Received: 1st wrap call: Array [ - "http://localhost:8080/api/usermechanism", + "undefined/usermechanism", Object { "mechanismId": "456", "userId": "123", }, Object { "headers": Object { "Content-Type": "application/json", }, }, ] Number of calls: 1 ❯ test/API_CreateMethods.test.tsx:144:26
test/API_CreateMethods.test.tsx > API create functions tests > should create family and return data: frontend/test/API_CreateMethods.test.tsx#L184
AssertionError: expected "wrap" to be called with arguments: [ …(3) ] Received: 1st wrap call: Array [ - "http://localhost:8080/api/families", + "undefined/families", Object { "id": "123", "name": "Test Family", }, Object { "headers": Object { "Content-Type": "application/json", }, }, ] Number of calls: 1 ❯ test/API_CreateMethods.test.tsx:184:26
build (18.x)
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/