mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 05:03:07 +02:00
[Test] Fix test
This commit is contained in:
parent
ca68cbf735
commit
b99dc759e6
5 changed files with 1186 additions and 1349 deletions
|
@ -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
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