Skip to content

Commit

Permalink
test: poc test solution
Browse files Browse the repository at this point in the history
  • Loading branch information
pcheremu committed Jan 22, 2024
1 parent 8b85a29 commit 4b5f4d0
Show file tree
Hide file tree
Showing 8 changed files with 3,980 additions and 111 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
]
node-version: ['lts/*', '18.17.1'] # or 18.17.1
tags: [
"default"
"common.test.ts"
]
runs-on: ${{matrix.os}}
runs-on: ${{ matrix.os }}

name: 'Node ${{ matrix.node-version}} / ${{ matrix.os}}'
name: 'Node ${{ matrix.node-version }} / ${{ matrix.os }}'
steps:
- uses: actions/checkout@v4

Expand All @@ -36,6 +36,7 @@ jobs:
- name: Run tests
run: |
./src/tests/test_zksync_cli.sh
cd /src/tests/cli-tests
npx jest --verbose --testPathPattern=${{ matrix.tags }}
shell: bash

4 changes: 4 additions & 0 deletions src/tests/cli-tests/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
preset: "ts-jest",
testEnvironment: "node",
};
Loading

0 comments on commit 4b5f4d0

Please sign in to comment.