Skip to content

Commit

Permalink
Should update install dependencies with @latest
Browse files Browse the repository at this point in the history
Revert "Should update install dependencies with @latest"

This reverts commit ec45795.

Should update install dependencies with @latest
  • Loading branch information
sun-rhythms committed Oct 12, 2023
1 parent d0dea5d commit 281e806
Show file tree
Hide file tree
Showing 6 changed files with 725 additions and 2 deletions.
350 changes: 350 additions & 0 deletions .history/04-testing/index_20231010222124.md

Large diffs are not rendered by default.

353 changes: 353 additions & 0 deletions .history/04-testing/index_20231012190825.md

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions .history/04-testing/test/index_20231010222110.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
set -ev
npm init --yes
npm install dotenv
npm install typescript jest @types/jest ts-jest
npm install npm install ton-core@latest @ton-community/sandbox@latest @ton-community/test-utils@latest
npx jest step2
npx jest step3
npx jest step4
npx jest step5 | grep "#DEBUG#" > step5.output.txt
diff step5.output.txt step5.expected.txt
10 changes: 10 additions & 0 deletions .history/04-testing/test/index_20231012190830.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
set -ev
npm init --yes
npm install dotenv
npm install typescript jest @types/jest ts-jest
npm install ton-core@latest @ton-community/sandbox@latest @ton-community/test-utils@latest
npx jest step2
npx jest step3
npx jest step4
npx jest step5 | grep "#DEBUG#" > step5.output.txt
diff step5.output.txt step5.expected.txt
2 changes: 1 addition & 1 deletion 04-testing/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ module.exports = {
And finally, run in terminal:

```console
npm install npm install ton-core@latest @ton-community/sandbox@latest @ton-community/test-utils@latest
npm install ton-core@latest @ton-community/sandbox@latest @ton-community/test-utils@latest
```

This will install [Sandbox](https://github.com/ton-community/sandbox) and its dependencies. Sandbox is our magical library that will emulate TON Blockchain locally by running a bare-bones version of the TVM in process. This will guarantee that our tests will be blazingly fast and completely isolated.
Expand Down
2 changes: 1 addition & 1 deletion 04-testing/test/index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ set -ev
npm init --yes
npm install dotenv
npm install typescript jest @types/jest ts-jest
npm install npm install ton-core@latest @ton-community/sandbox@latest @ton-community/test-utils@latest
npm install ton-core@latest @ton-community/sandbox@latest @ton-community/test-utils@latest
npx jest step2
npx jest step3
npx jest step4
Expand Down

0 comments on commit 281e806

Please sign in to comment.