add chai-string

This commit is contained in:
2017-02-19 03:18:25 +01:00
parent c487921a1e
commit c8563f4363
7 changed files with 200 additions and 3 deletions

1
test/test.d.ts vendored Normal file
View File

@ -0,0 +1 @@
import 'typings-test';

9
test/test.js Normal file
View 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
View 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')
})
})