mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 01:47:39 -07:00
[Test] Fix test
This commit is contained in:
parent
06cf2f4173
commit
d27bf100ef
5 changed files with 1186 additions and 1349 deletions
|
@ -109,7 +109,7 @@ gulp.task('lint', () =>
|
|||
gulp.task('mocha', () =>
|
||||
gulp.src([])
|
||||
.pipe(mocha({
|
||||
compilers: 'ts:ts-node/register'
|
||||
//compilers: 'ts:ts-node/register'
|
||||
} as any))
|
||||
);
|
||||
|
||||
|
|
1170
test/api.js
Normal file
1170
test/api.js
Normal file
File diff suppressed because it is too large
Load diff
1348
test/api.ts
1348
test/api.ts
File diff suppressed because it is too large
Load diff
15
test/it.js
Normal file
15
test/it.js
Normal file
|
@ -0,0 +1,15 @@
|
|||
/**
|
||||
* it Tests!
|
||||
*/
|
||||
|
||||
const assert = require('assert');
|
||||
|
||||
const _it = require('../built/api/it').default;
|
||||
/*
|
||||
describe('it', () => {
|
||||
it('it must be a string', () => {
|
||||
const [val, err] = _it(42).must.be.a.string().qed();
|
||||
assert.eql
|
||||
});
|
||||
});
|
||||
*/
|
Loading…
Reference in a new issue