mirror of
https://github.com/hotomoe/hotomoe
synced 2024-11-24 23:26:17 +09:00
[Test] Fix test
This commit is contained in:
parent
ca68cbf735
commit
b99dc759e6
@ -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 New Issue
Block a user