Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -258,12 +258,12 @@ function ExecuteView() {

const currentTestCases: TestCaseDataWithKey<TestCaseDataType>[] = [];
for (const item of passphraseStateList) {
['btcGetAddress', 'evmGetAddress', 'dnxGetAddress'].forEach(method => {
for (const method of ['btcGetAddress', 'evmGetAddress', 'dnxGetAddress']) {
const params = getRequestParams(method);

try {
// @ts-expect-error
const mockRes = mockDevice?.[method]?.('', '', {
const mockRes = await mockDevice?.[method]?.('', '', {
...params,
mnemonic: mnemonic.trim(),
passphrase: item.passphrase,
Expand All @@ -289,7 +289,7 @@ function ExecuteView() {
} catch (e) {
console.log('=====>>>>> error', e);
}
});
}
}

console.log('currentTestCases', currentTestCases);
Expand Down
Loading