add chai-string
This commit is contained in:
1
test/test.d.ts
vendored
Normal file
1
test/test.d.ts
vendored
Normal file
@ -0,0 +1 @@
|
||||
import 'typings-test';
|
9
test/test.js
Normal file
9
test/test.js
Normal file
@ -0,0 +1,9 @@
|
||||
"use strict";
|
||||
require("typings-test");
|
||||
const smartchai = require("../dist/index");
|
||||
describe('smartchai', function () {
|
||||
it('should have typings in place', function () {
|
||||
smartchai.expect('hi there').to.startsWith('hi');
|
||||
});
|
||||
});
|
||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInRlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHdCQUFxQjtBQUNyQiwyQ0FBMEM7QUFFMUMsUUFBUSxDQUFDLFdBQVcsRUFBRTtJQUNwQixFQUFFLENBQUMsOEJBQThCLEVBQUU7UUFDakMsU0FBUyxDQUFDLE1BQU0sQ0FBQyxVQUFVLENBQUMsQ0FBQyxFQUFFLENBQUMsVUFBVSxDQUFDLElBQUksQ0FBQyxDQUFBO0lBQ2xELENBQUMsQ0FBQyxDQUFBO0FBQ0osQ0FBQyxDQUFDLENBQUEifQ==
|
8
test/test.ts
Normal file
8
test/test.ts
Normal file
@ -0,0 +1,8 @@
|
||||
import 'typings-test'
|
||||
import * as smartchai from '../dist/index'
|
||||
|
||||
describe('smartchai', function() {
|
||||
it('should have typings in place', function(){
|
||||
smartchai.expect('hi there').to.startsWith('hi')
|
||||
})
|
||||
})
|
Reference in New Issue
Block a user