feat: implement network switch #8727
Annotations
3 errors
Test:
src/domains/profile/pages/Welcome/Welcome.test.tsx#L52
AssertionError: expected "update" to be called with arguments: [ Any<String>, 'error', { …(9) } ]
Received:
1st update call:
Array [
- Any<String>,
+ "12",
"error",
<Trans
- i18nKey="TRANSACTION.VALIDATION.NETWORK_NO_WALLETS"
+ i18nKey="TRANSACTION.VALIDATION.NETWORK_NOT_ENABLED"
parent={[Function WrapperURI]}
values={
Object {
"network": "ARK",
}
}
/>,
]
Number of calls: 1
Ignored nodes: comments, script, style
<html
class="light"
>
<head>
<title />
</head>
<body
style="overflow-y: overlay;"
>
<div />
<div />
</body>
</html>
❯ src/domains/profile/pages/Welcome/Welcome.test.tsx:52:45
❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:118:16
|
Test:
src/domains/profile/pages/Welcome/Welcome.test.tsx#L52
AssertionError: expected "update" to be called with arguments: [ Any<String>, 'error', { …(9) } ]
Received:
1st update call:
Array [
- Any<String>,
+ "16",
"error",
<Trans
- i18nKey="TRANSACTION.VALIDATION.NETWORK_NO_WALLETS"
+ i18nKey="TRANSACTION.VALIDATION.NETWORK_NOT_ENABLED"
parent={[Function WrapperURI]}
values={
Object {
"network": "ARK",
}
}
/>,
]
Number of calls: 1
Ignored nodes: comments, script, style
<html
class="light"
>
<head>
<title />
</head>
<body
style="overflow-y: overlay;"
>
<div />
<div />
</body>
</html>
❯ src/domains/profile/pages/Welcome/Welcome.test.tsx:52:45
❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:118:16
|
Test
Final attempt failed. Child_process exited with error code 1
|
Loading