Commit 7e543b0
authored
Refactor tests (#30)
* Renamed node.js.yml to build.yml
* Moved test files
1. Moved `tests/1/` and `tests/2/` to `src/1/__tests__/` and `src/2/__tests__/` respectively
2. Updated relative imports
3. Updated test file paths
* Moved test files for challenge 3, updated README for challenge 3
* Updated readme for challenge 1 and challenge 2
* Moved tests for challenge 4. Updated readme for challenge 4
* Updated readme and tests for challenge 5
* Updated tests and readme for challenge 6
* Updated tests and readme for challenge 7
* Updated tests and readme for challenge 8
* Updated test files and readme for challenge 9
* Updated tests and readme for challenge 10
* Updated readme and tests for challenge 11
* Updated tests and readme for challenge 13
* Updated readme and tests for challenge 14
* Updated tests and readme for challenge 15
* Updated tests and readme for challenge 16
* Updated readme and tests for challenge 17. Updated jest config file
* Updated comments for challenge 1 tests. Updated global readme.
* Updated tests for grep. Using LINUX path systems everywhere.
* Updated path to shell.js, added console statements in cat.test.ts
* Fixed challenge 14 and 15, updated readme for challenge 19
The challenges were referring to the `.js` file present in `./build/src` folders. Since the `tests` folder was removed, now there is no `src` folder present and we can directly using `./build` folder to refer to the `.js` files1 parent 1c32c20 commit 7e543b0
File tree
117 files changed
+161
-141
lines changed- .github/workflows
- src
- 10
- __tests__
- 11
- __tests__
- 13
- __tests__
- 14
- __tests__
- 15
- __tests__
- 16
- __tests__
- 17
- __tests__
- 19
- 1
- __tests__
- 2
- __tests__
- json_checker
- step1
- step2
- step3
- step4
- 3
- __tests__
- 4
- __tests__
- 5
- __tests__
- 6
- __tests__
- 7
- __tests__
- 8
- __tests__
- 9
- __tests__
- files
- test-subdir
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
117 files changed
+161
-141
lines changedFile renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
File renamed without changes.
File renamed without changes.
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
5 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
8 | 12 | | |
| |||
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
14 | | - | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
| |||
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
60 | | - | |
| 64 | + | |
61 | 65 | | |
62 | 66 | | |
63 | 67 | | |
| |||
File renamed without changes.
File renamed without changes.
0 commit comments