Skip to content

Commit

Permalink
Remake open_rpc tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-senechal committed May 31, 2024
1 parent 2ddd871 commit 85f8bcd
Show file tree
Hide file tree
Showing 10 changed files with 14,262 additions and 3,046 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/openrpc-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
test-openrpc-spec:
defaults:
run:
working-directory: ./packages/massa-web3/
working-directory: ./open_rpc/

runs-on: ubuntu-latest

Expand All @@ -20,7 +20,7 @@ jobs:
with:
node-version: "18"
cache: "npm"
cache-dependency-path: ./packages/massa-web3/
cache-dependency-path: ./open_rpc/

- name: Install dependencies
run: |
Expand Down
11 changes: 11 additions & 0 deletions open_rpc/jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import baseConfig from '../jest.config'
import type { Config } from '@jest/types'

const config: Config.InitialOptions = {
...baseConfig,
rootDir: '..',
displayName: 'massa-web3',
testMatch: ['<rootDir>/open_rpc/*.(spec|test).ts?(x)'],
}

export default config
Loading

0 comments on commit 85f8bcd

Please sign in to comment.