Skip to content

Commit 1b0fe43

Browse files
committed
chore(): simple test fix
1 parent 8e35d6e commit 1b0fe43

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/spot/private.write.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ describe('Private Spot REST API POST Endpoints', () => {
3535
} catch (e) {
3636
// console.error('transfer: ', e);
3737
expect(e.body).toMatchObject({
38-
// not sure what this error means, probably no balance. Seems to change?
39-
code: expect.stringMatching(/42013|43117/gim),
38+
// not sure what this error means, probably no kyc. Seems to change?
39+
code: expect.stringMatching(/42013|43117|40035/gim),
4040
});
4141
}
4242
});
@@ -54,8 +54,8 @@ describe('Private Spot REST API POST Endpoints', () => {
5454
} catch (e) {
5555
// console.error('transferV2: ', e);
5656
expect(e.body).toMatchObject({
57-
// not sure what this error means, probably no balance. Seems to change?
58-
code: expect.stringMatching(/42013|43117/gim),
57+
// not sure what this error means, probably no kyc. Seems to change?
58+
code: expect.stringMatching(/42013|43117|40035/gim),
5959
});
6060
}
6161
});
@@ -89,7 +89,7 @@ describe('Private Spot REST API POST Endpoints', () => {
8989
amount: '100',
9090
coin,
9191
chain: 'TRC20',
92-
address: `123456`,
92+
address: '123456',
9393
}),
9494
).toMatchObject({
9595
...sucessEmptyResponseObject(),
@@ -109,7 +109,7 @@ describe('Private Spot REST API POST Endpoints', () => {
109109
amount: '100',
110110
coin,
111111
chain: 'TRC20',
112-
address: `123456`,
112+
address: '123456',
113113
}),
114114
).toMatchObject({
115115
...sucessEmptyResponseObject(),

0 commit comments

Comments
 (0)