Skip to content

Commit

Permalink
jest examples o-p
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Jul 9, 2024
1 parent fb69901 commit 198f3ae
Show file tree
Hide file tree
Showing 32 changed files with 49,331 additions and 12,343 deletions.
10 changes: 10 additions & 0 deletions examples/open_value_sharing/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/** @type {import('ts-jest').JestConfigWithTsJest} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
transform: {
'^.+\\.ts$': 'ts-jest',
'^.+\\.js$': 'ts-jest'
},
transformIgnorePatterns: ['/node_modules/(?!(azle)/)'] // Make sure azle is transformed
};
10,314 changes: 8,221 additions & 2,093 deletions examples/open_value_sharing/package-lock.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion examples/open_value_sharing/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
{
"scripts": {
"pretest": "ts-node --transpile-only --ignore=false test/pretest.ts",
"test": "ts-node --transpile-only --ignore=false test/test.ts"
"test": "jest"
},
"dependencies": {
"azle": "0.21.1",
"express": "^4.18.2"
},
"devDependencies": {
"@types/express": "^4.17.21",
"jest": "^29.7.0",
"ts-jest": "^29.1.5",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
}
Expand Down
Loading

0 comments on commit 198f3ae

Please sign in to comment.