Commit 3d5c7f4
committed
Migrate from Playwright to Node.js built-in test runner
- Convert all test files to use node:test and node:assert/strict
- Create copy-tests.js script in each epicshop/ to propagate tests from solution to problem directories
- Add test scripts to all exercise package.json files
- Remove Playwright config and test files
- Update GitHub Actions workflow to use Node test runner
Test files now use top-level await with test() calls.1 parent 3d0cc45 commit 3d5c7f4
File tree
67 files changed
+1373
-520
lines changed- .github/workflows
- epicshop
- exercises
- 01.primitive-types
- 01.problem.numbers-and-strings
- 01.solution.numbers-and-strings
- 02.problem.booleans-and-comparisons
- 02.solution.booleans-and-comparisons
- 03.problem.null-and-undefined
- 03.solution.null-and-undefined
- 04.problem.bigint-and-symbol
- 04.solution.bigint-and-symbol
- 02.variables
- 01.problem.let-and-const
- 01.solution.let-and-const
- 02.problem.reassignment-vs-mutation
- 02.solution.reassignment-vs-mutation
- 03.control-flow
- 01.problem.conditionals
- 01.solution.conditionals
- 02.problem.loops
- 02.solution.loops
- 03.problem.for-of-iteration
- 03.solution.for-of-iteration
- 04.functions
- 01.problem.parameters-and-returns
- 01.solution.parameters-and-returns
- 02.problem.type-inference
- 02.solution.type-inference
- 03.problem.explicit-return-types
- 03.solution.explicit-return-types
- 04.problem.arrow-functions
- 04.solution.arrow-functions
- 05.void-and-never
- 01.problem.void-functions
- 01.solution.void-functions
- 02.problem.never-type
- 02.solution.never-type
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
67 files changed
+1373
-520
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
74 | 62 | | |
75 | 63 | | |
76 | 64 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | 64 | | |
73 | 65 | | |
74 | 66 | | |
| |||
82 | 74 | | |
83 | 75 | | |
84 | 76 | | |
85 | | - | |
| 77 | + | |
86 | 78 | | |
87 | 79 | | |
88 | 80 | | |
| |||
103 | 95 | | |
104 | 96 | | |
105 | 97 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
| 98 | + | |
110 | 99 | | |
111 | 100 | | |
112 | 101 | | |
| |||
122 | 111 | | |
123 | 112 | | |
124 | 113 | | |
125 | | - | |
| 114 | + | |
126 | 115 | | |
127 | 116 | | |
128 | 117 | | |
129 | 118 | | |
130 | 119 | | |
131 | 120 | | |
132 | | - | |
| 121 | + | |
133 | 122 | | |
134 | 123 | | |
135 | 124 | | |
| |||
This file was deleted.
Lines changed: 55 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
Lines changed: 30 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | | - | |
5 | | - | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
| 8 | + | |
7 | 9 | | |
8 | | - | |
9 | | - | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
| 13 | + | |
11 | 14 | | |
12 | | - | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | | - | |
16 | | - | |
| 18 | + | |
| 19 | + | |
17 | 20 | | |
| 21 | + | |
18 | 22 | | |
19 | | - | |
20 | | - | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
| 26 | + | |
22 | 27 | | |
23 | | - | |
| 28 | + | |
24 | 29 | | |
25 | 30 | | |
26 | | - | |
27 | | - | |
| 31 | + | |
| 32 | + | |
28 | 33 | | |
| 34 | + | |
29 | 35 | | |
30 | | - | |
31 | | - | |
| 36 | + | |
| 37 | + | |
32 | 38 | | |
| 39 | + | |
33 | 40 | | |
34 | | - | |
| 41 | + | |
35 | 42 | | |
36 | 43 | | |
37 | | - | |
38 | | - | |
| 44 | + | |
| 45 | + | |
39 | 46 | | |
| 47 | + | |
40 | 48 | | |
41 | | - | |
42 | | - | |
| 49 | + | |
| 50 | + | |
43 | 51 | | |
| 52 | + | |
44 | 53 | | |
45 | | - | |
| 54 | + | |
46 | 55 | | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
0 commit comments