[Test] Fix test
This commit is contained in:
parent
ca68cbf735
commit
b99dc759e6
|
@ -109,7 +109,7 @@ gulp.task('lint', () =>
|
||||||
gulp.task('mocha', () =>
|
gulp.task('mocha', () =>
|
||||||
gulp.src([])
|
gulp.src([])
|
||||||
.pipe(mocha({
|
.pipe(mocha({
|
||||||
compilers: 'ts:ts-node/register'
|
//compilers: 'ts:ts-node/register'
|
||||||
} as any))
|
} as any))
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
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
|
@ -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