Skip to content

Commit

Permalink
added testing guide
Browse files Browse the repository at this point in the history
  • Loading branch information
hey24sheep committed Jul 25, 2023
1 parent 5f4cdb9 commit 1843b10
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Testing-Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## How to test locally

>**Note : Not all tests are written and they cannot mock every scenario**
### Task Build - first, build the the task (.ts) to (.js)
- `tsc tasks/test/index.ts`

### Test Build - second, build the test (.ts) file to a .js file

- `tsc tasks/test/tests/basic.ts`

### Test Run - thrid, you can run the test (.js) file using the below command

- `node ./tasks/test/tests/basic.js`

0 comments on commit 1843b10

Please sign in to comment.