[Test] Fix test

This commit is contained in:
syuilo 2017-03-04 19:03:59 +09:00
parent 06cf2f4173
commit d27bf100ef
5 changed files with 1186 additions and 1349 deletions

View File

@ -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))
); );

1170
test/api.js Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

15
test/it.js Normal file
View 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
});
});
*/