Skip to content

Commit

Permalink
test: implement tests for all endpoints
Browse files Browse the repository at this point in the history
* chore: skip createSchema when readonly mode

* test: progress on fastify endpoint testing

* test: use sample of realistic testnet payload dump in ingestion and endpoint tests

* test: cycle signers endpoint test

* test: cycle signer endpoint test
  • Loading branch information
zone117x authored Nov 2, 2024
1 parent 5247a91 commit 200c9ac
Show file tree
Hide file tree
Showing 19 changed files with 1,326 additions and 785 deletions.
5 changes: 3 additions & 2 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ const jestConfig: JestConfigWithTsJest = {
transform,
displayName: 'db-tests',
testMatch: ['**/tests/db/**/*.test.ts'],
globalSetup: './tests/db/jest.setup.ts',
globalTeardown: './tests/db/jest.teardown.ts',
globalSetup: './tests/db/jest-global-setup.ts',
globalTeardown: './tests/db/jest-global-teardown.ts',
setupFilesAfterEnv: ['./tests/db/jest-setup.ts'],
},
]
};
Expand Down
249 changes: 249 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 200c9ac

Please sign in to comment.