Skip to content

Commit a221d34

Browse files
committed
Add typescript plus jest files
1 parent fe7f83f commit a221d34

7 files changed

Lines changed: 10743 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ hs_err_pid*
2727
##############################
2828
out/
2929
.idea/
30+
*.iml

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,15 @@
33
This is a java code review exercise about an e-shop basket.
44
Try to spot if there's something wrong about that code.
55

6-
### First version :
6+
### Java :
77

88
[Basket code without tests](https://github.com/Tarcaye/code-review-interview/pull/1/files)
99

10+
[Basket code promo feature without tests](https://github.com/Tarcaye/code-review-interview/pull/2/files)
11+
12+
13+
### Javascript :
14+
15+
[Basket code without tests](https://github.com/Tarcaye/code-review-interview/pull/1/files)
16+
17+
[Basket code promo feature without tests](https://github.com/Tarcaye/code-review-interview/pull/2/files)
File renamed without changes.

typescript/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# world-company-remuneration
2+
```bash
3+
# 1. Setup
4+
npm install
5+
6+
# 2. Launch the tests
7+
npm run testWatch
8+
9+
# And example test file is at the root fake,test.ts
10+
# Otherwise they are in the kata folder
11+
```

typescript/jest.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
preset: 'ts-jest',
3+
testEnvironment: 'node',
4+
};

0 commit comments

Comments
 (0)