File tree Expand file tree Collapse file tree 6 files changed +17
-127
lines changed
Expand file tree Collapse file tree 6 files changed +17
-127
lines changed Original file line number Diff line number Diff line change 22 file : .gitpod.Dockerfile
33tasks :
44 - init : ' '
5- command : ' echo "Start Project Deno Trading Bot: deno run --allow-net --allow-env --allow-read app .js"'
5+ command : ' echo "Start Project Deno Trading Bot: deno run --allow-net --allow-env --allow-read main .js"'
66
77vscode :
88 extensions :
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -20,11 +20,15 @@ API_KEY_BINANCE =
2020API_SECRET_BINANCE =
2121INTERVAL_TIME =
2222```
23-
24- 4 - RUN
23+ ## test
24+ - in terminal
25+ ``` sh
26+ $ deno test --allow-net --allow-env --allow-read
27+ ```
28+ ## run
2529 - in terminal
2630``` sh
27- $ deno run --allow-net --allow-env --allow-read app .js
31+ $ deno run --allow-net --allow-env --allow-read main .js
2832```
2933 - in docker
3034 ``` sh
Original file line number Diff line number Diff line change 1+ import { assertEquals } from "https://deno.land/std@0.97.0/testing/asserts.ts" ;
2+ import DenoBot from './mod.js' ;
3+
4+ const denoBot = new DenoBot ( ) ;
5+ const ping = await denoBot . ping ;
6+ Deno . test ( "deno tading bot is conect to binance" , ( ) => {
7+ assertEquals ( ping , true ) ;
8+ } ) ;
9+
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments