Skip to content

Commit 59e493a

Browse files
committed
remove jest
1 parent 1639b07 commit 59e493a

File tree

80 files changed

+1619
-5342
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+1619
-5342
lines changed

.yamllint

-8
This file was deleted.

Dockerfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
FROM hexletbasics/base-image
22

33
ENV NODE_PATH=/exercises-javascript/src
4-
ENV PATH=/exercises-javascript/bin:$PATH
4+
ENV PATH=/exercises-javascript/bin:/exercises-javascript/node_modules/.bin:$PATH
55

66
WORKDIR /exercises-javascript
77

8-
RUN npm i -g vitest
98
COPY package.json package-lock.json ./
109
RUN npm ci
1110

Makefile

+8-5
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,26 @@ compose:
88
compose-build:
99
docker-compose build
1010

11+
compose-down:
12+
docker-compose down -v --remove-orphans
13+
1114
compose-install:
12-
docker-compose run exercises npm ci
15+
docker-compose run --rm exercises npm ci
1316

1417
code-lint:
1518
npx eslint modules
1619

1720
compose-bash:
18-
docker-compose run exercises bash
21+
docker-compose run --rm exercises bash
1922

2023
compose-test:
21-
docker-compose run exercises make test
24+
docker-compose run --rm exercises make test
2225

2326
compose-description-lint:
24-
docker-compose run exercises make description-lint
27+
docker-compose run --rm exercises make description-lint
2528

2629
compose-schema-validate:
27-
docker-compose run exercises make schema-validate
30+
docker-compose run --rm exercises make schema-validate
2831

2932
ci-check:
3033
docker-compose --file docker-compose.yml build

bin/test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

3-
npx jest --colors `pwd`/test.js
3+
FORCE_COLOR=1 vitest related --run `pwd`/test.js

bin/test2.sh

-3
This file was deleted.
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh

modules/10-basics/45-testing/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh

modules/25-strings/10-quotes/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
+1-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
test:
2-
@ test2.sh
3-
2+
@ test.sh
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh

modules/50-loops/10-while/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh

modules/50-loops/50-mutators/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh

modules/50-loops/70-for/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test:
2-
@ test2.sh
2+
@ test.sh

0 commit comments

Comments
 (0)