mirror of
https://github.com/maxswa/osrs-json-hiscores.git
synced 2025-10-15 10:19:04 +00:00
Upgrade dependencies, fix tests.
This commit is contained in:
@@ -70,6 +70,7 @@ test('Parse CSV to json', () => {
|
|||||||
625,2391
|
625,2391
|
||||||
120,2981
|
120,2981
|
||||||
1,109
|
1,109
|
||||||
|
3,22666
|
||||||
26,323
|
26,323
|
||||||
201,1101
|
201,1101
|
||||||
82,3404
|
82,3404
|
||||||
@@ -157,6 +158,7 @@ test('Parse CSV to json', () => {
|
|||||||
kreeArra: { rank: 625, score: 2391 },
|
kreeArra: { rank: 625, score: 2391 },
|
||||||
krilTsutsaroth: { rank: 120, score: 2981 },
|
krilTsutsaroth: { rank: 120, score: 2981 },
|
||||||
mimic: { rank: 1, score: 109 },
|
mimic: { rank: 1, score: 109 },
|
||||||
|
nightmare: { rank: 3, score: 22666 },
|
||||||
obor: { rank: 26, score: 323 },
|
obor: { rank: 26, score: 323 },
|
||||||
sarachnis: { rank: 201, score: 1101 },
|
sarachnis: { rank: 201, score: 1101 },
|
||||||
scorpia: { rank: 82, score: 3404 },
|
scorpia: { rank: 82, score: 3404 },
|
||||||
|
@@ -3,5 +3,6 @@
|
|||||||
"^.+\\.(t|j)sx?$": "ts-jest"
|
"^.+\\.(t|j)sx?$": "ts-jest"
|
||||||
},
|
},
|
||||||
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
|
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
|
||||||
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"]
|
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"],
|
||||||
|
"testEnvironment": "node"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user