Skip to content

Commit

Permalink
Merge pull request #75 from tiagosiebler/testfix2
Browse files Browse the repository at this point in the history
fix(): test error code
  • Loading branch information
tiagosiebler authored Oct 22, 2024
2 parents b9977d0 + bf36e84 commit 7f941eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/e2etest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: 'Build & Test'

on: [push]
on:
push:
pull_request:
workflow_dispatch:

# on:
# # pull_request:
Expand Down
2 changes: 1 addition & 1 deletion test/private.read.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ describe('Private REST API Trade Endpoints (GET only)', () => {
});

describe('Block Trading Endpoints', () => {
const errorCode = '70015';
const errorCode = '70006';
// Block trading is only available for OKX users who have completed identity verification level 2 or above
// const errorMatch = expect.stringMatching(/level 2 or above/gim);
const errorMatch = expect.any(String);
Expand Down

0 comments on commit 7f941eb

Please sign in to comment.