Skip to content

fix(deps): update dependency yup to v1 - autoclosed #13601

fix(deps): update dependency yup to v1 - autoclosed

fix(deps): update dependency yup to v1 - autoclosed #13601

Triggered via pull request March 26, 2024 15:28
Status Failure
Total duration 10m 20s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors
Lint: src/app/base/components/DhcpForm/DhcpForm.tsx#L29
No overload matches this call.
Lint: src/app/base/components/NodeConfigurationFields/NodeConfigurationFields.tsx#L8
'"yup"' has no exported member named 'SchemaOf'. Did you mean 'Schema'?
Lint: src/app/base/components/SSHKeyForm/SSHKeyForm.tsx#L17
No overload matches this call.
Lint: src/app/base/components/SSHKeyForm/SSHKeyForm.tsx#L21
No overload matches this call.
Unhandled error: node_modules/yup/index.js#L222
TypeError: branch is not a function ❯ Condition.fn node_modules/yup/index.js:222:51 ❯ Condition.resolve node_modules/yup/index.js:235:23 ❯ node_modules/yup/index.js:636:71 ❯ StringSchema.resolve node_modules/yup/index.js:636:27 ❯ ObjectSchema._cast node_modules/yup/index.js:1796:23 ❯ ObjectSchema._validate node_modules/yup/index.js:687:20 ❯ ObjectSchema._validate node_modules/yup/index.js:1836:11 ❯ node_modules/yup/index.js:798:52 This error originated in "src/app/subnets/views/VLANDetails/ConfigureDHCP/ConfigureDHCP.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "correctly initialises data if the VLAN has DHCP from rack controllers". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: node_modules/yup/index.js#L222
TypeError: branch is not a function ❯ Condition.fn node_modules/yup/index.js:222:51 ❯ Condition.resolve node_modules/yup/index.js:235:23 ❯ node_modules/yup/index.js:636:71 ❯ StringSchema.resolve node_modules/yup/index.js:636:27 ❯ ObjectSchema._cast node_modules/yup/index.js:1796:23 ❯ ObjectSchema._validate node_modules/yup/index.js:687:20 ❯ ObjectSchema._validate node_modules/yup/index.js:1836:11 ❯ node_modules/yup/index.js:798:52 This error originated in "src/app/subnets/views/VLANDetails/ConfigureDHCP/ConfigureDHCP.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "shows an error if no rack controllers are connected to the VLAN". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: node_modules/yup/index.js#L222
TypeError: branch is not a function ❯ Condition.fn node_modules/yup/index.js:222:51 ❯ Condition.resolve node_modules/yup/index.js:235:23 ❯ node_modules/yup/index.js:636:71 ❯ StringSchema.resolve node_modules/yup/index.js:636:27 ❯ ObjectSchema._cast node_modules/yup/index.js:1796:23 ❯ ObjectSchema._validate node_modules/yup/index.js:687:20 ❯ ObjectSchema._validate node_modules/yup/index.js:1836:11 ❯ node_modules/yup/index.js:798:52 This error originated in "src/app/subnets/views/VLANDetails/ConfigureDHCP/ConfigureDHCP.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "shows an error if the subnet selected for reserving a dynamic range has no available IP addresses". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: node_modules/yup/index.js#L222
TypeError: branch is not a function ❯ Condition.fn node_modules/yup/index.js:222:51 ❯ Condition.resolve node_modules/yup/index.js:235:23 ❯ node_modules/yup/index.js:636:71 ❯ StringSchema.resolve node_modules/yup/index.js:636:27 ❯ ObjectSchema._cast node_modules/yup/index.js:1796:23 ❯ ObjectSchema._validate node_modules/yup/index.js:687:20 ❯ ObjectSchema._validate node_modules/yup/index.js:1836:11 ❯ node_modules/yup/index.js:798:52 This error originated in "src/app/subnets/views/VLANDetails/ConfigureDHCP/ConfigureDHCP.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "shows an error if the subnet selected for reserving a dynamic range has no available IP addresses". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: node_modules/yup/index.js#L222
TypeError: branch is not a function ❯ Condition.fn node_modules/yup/index.js:222:51 ❯ Condition.resolve node_modules/yup/index.js:235:23 ❯ node_modules/yup/index.js:636:71 ❯ StringSchema.resolve node_modules/yup/index.js:636:27 ❯ ObjectSchema._cast node_modules/yup/index.js:1796:23 ❯ ObjectSchema._validate node_modules/yup/index.js:687:20 ❯ ObjectSchema._validate node_modules/yup/index.js:1836:11 ❯ node_modules/yup/index.js:798:52 This error originated in "src/app/subnets/views/VLANDetails/ConfigureDHCP/ConfigureDHCP.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "shows an error if the subnet selected for reserving a dynamic range has no available IP addresses". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: node_modules/yup/index.js#L222
TypeError: branch is not a function ❯ Condition.fn node_modules/yup/index.js:222:51 ❯ Condition.resolve node_modules/yup/index.js:235:23 ❯ node_modules/yup/index.js:636:71 ❯ StringSchema.resolve node_modules/yup/index.js:636:27 ❯ ObjectSchema._cast node_modules/yup/index.js:1796:23 ❯ ObjectSchema._validate node_modules/yup/index.js:687:20 ❯ ObjectSchema._validate node_modules/yup/index.js:1836:11 ❯ node_modules/yup/index.js:798:52 This error originated in "src/app/subnets/views/VLANDetails/ConfigureDHCP/ConfigureDHCP.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "shows an error if the subnet selected for reserving a dynamic range has no available IP addresses". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: node_modules/yup/index.js#L222
TypeError: branch is not a function ❯ Condition.fn node_modules/yup/index.js:222:51 ❯ Condition.resolve node_modules/yup/index.js:235:23 ❯ node_modules/yup/index.js:636:71 ❯ StringSchema.resolve node_modules/yup/index.js:636:27 ❯ ObjectSchema._cast node_modules/yup/index.js:1796:23 ❯ ObjectSchema._validate node_modules/yup/index.js:687:20 ❯ ObjectSchema._validate node_modules/yup/index.js:1836:11 ❯ node_modules/yup/index.js:798:52 This error originated in "src/app/subnets/views/VLANDetails/ConfigureDHCP/ConfigureDHCP.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "shows an error if the subnet selected for reserving a dynamic range has no available IP addresses". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: node_modules/yup/index.js#L222
TypeError: branch is not a function ❯ Condition.fn node_modules/yup/index.js:222:51 ❯ Condition.resolve node_modules/yup/index.js:235:23 ❯ node_modules/yup/index.js:636:71 ❯ StringSchema.resolve node_modules/yup/index.js:636:27 ❯ ObjectSchema._cast node_modules/yup/index.js:1796:23 ❯ ObjectSchema._validate node_modules/yup/index.js:687:20 ❯ ObjectSchema._validate node_modules/yup/index.js:1836:11 ❯ node_modules/yup/index.js:798:52 This error originated in "src/app/subnets/views/VLANDetails/ConfigureDHCP/ConfigureDHCP.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "shows a warning when attempting to disable DHCP on a VLAN". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: node_modules/yup/index.js#L222
TypeError: branch is not a function ❯ Condition.fn node_modules/yup/index.js:222:51 ❯ Condition.resolve node_modules/yup/index.js:235:23 ❯ node_modules/yup/index.js:636:71 ❯ StringSchema.resolve node_modules/yup/index.js:636:27 ❯ ObjectSchema._cast node_modules/yup/index.js:1796:23 ❯ ObjectSchema._validate node_modules/yup/index.js:687:20 ❯ ObjectSchema._validate node_modules/yup/index.js:1836:11 ❯ node_modules/yup/index.js:798:52 This error originated in "src/app/subnets/views/VLANDetails/ConfigureDHCP/ConfigureDHCP.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "can configure DHCP with rack controllers". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: node_modules/yup/index.js#L222
TypeError: branch is not a function ❯ Condition.fn node_modules/yup/index.js:222:51 ❯ Condition.resolve node_modules/yup/index.js:235:23 ❯ node_modules/yup/index.js:636:71 ❯ StringSchema.resolve node_modules/yup/index.js:636:27 ❯ ObjectSchema._cast node_modules/yup/index.js:1796:23 ❯ ObjectSchema._validate node_modules/yup/index.js:687:20 ❯ ObjectSchema._validate node_modules/yup/index.js:1836:11 ❯ node_modules/yup/index.js:798:52 This error originated in "src/app/subnets/views/VLANDetails/ConfigureDHCP/ConfigureDHCP.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "can configure DHCP with rack controllers". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.