Skip to content

Commit

Permalink
update class based heartbeat, inspect message, and manual reply
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Jul 8, 2024
1 parent ef943dd commit 11c4ea2
Show file tree
Hide file tree
Showing 9 changed files with 23,591 additions and 5,294 deletions.
10 changes: 10 additions & 0 deletions tests/end_to_end/candid_rpc/class_syntax/heartbeat/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
};
9,589 changes: 7,838 additions & 1,751 deletions tests/end_to_end/candid_rpc/class_syntax/heartbeat/package-lock.json

Large diffs are not rendered by default.

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.22.0"
},
"devDependencies": {
"@dfinity/agent": "^0.19.2",
"heartbeat_end_to_end_test_functional_syntax": "file:../../../../../examples/heartbeat",
"jest": "^29.7.0",
"ts-jest": "^29.1.5",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
}
Expand Down
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
};
9,627 changes: 7,857 additions & 1,770 deletions tests/end_to_end/candid_rpc/class_syntax/inspect_message/package-lock.json

Large diffs are not rendered by default.

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.22.0"
},
"devDependencies": {
"@dfinity/agent": "^0.19.2",
"inspect_message_end_to_end_test_functional_syntax": "file:../../../../../examples/inspect_message",
"jest": "^29.7.0",
"ts-jest": "^29.1.5",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
}
Expand Down
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
};
9,627 changes: 7,857 additions & 1,770 deletions tests/end_to_end/candid_rpc/class_syntax/manual_reply/package-lock.json

Large diffs are not rendered by default.

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.22.0"
},
"devDependencies": {
"@dfinity/agent": "^0.19.2",
"jest": "^29.7.0",
"manual_reply_end_to_end_test_functional_syntax": "file:../../../../../examples/manual_reply",
"ts-jest": "^29.1.5",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
}
Expand Down

0 comments on commit 11c4ea2

Please sign in to comment.