mirror of
https://github.com/demostf/demo.js
synced 2026-06-04 09:04:13 +02:00
fix tests
This commit is contained in:
parent
2601de65a0
commit
51739e3aa8
5 changed files with 4679 additions and 1 deletions
BIN
src/tests/data/pov.dem
Normal file
BIN
src/tests/data/pov.dem
Normal file
Binary file not shown.
3203
src/tests/data/pov.json
Normal file
3203
src/tests/data/pov.json
Normal file
File diff suppressed because it is too large
Load diff
BIN
src/tests/data/pov2.dem
Normal file
BIN
src/tests/data/pov2.dem
Normal file
Binary file not shown.
1475
src/tests/data/pov2.json
Normal file
1475
src/tests/data/pov2.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -10,7 +10,7 @@ function testDemo(name: string) {
|
|||
parser.readHeader();
|
||||
parser.parseBody();
|
||||
const parsed = parser.match.getState();
|
||||
assert.deepEqual(parsed, target);
|
||||
assert.deepEqual(JSON.parse(JSON.stringify(parsed)), target);
|
||||
}
|
||||
|
||||
suite('Parse basic demo info', () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue