format
This commit is contained in:
parent
550c5c6eb8
commit
f1a4c57436
@ -1,13 +1,16 @@
|
||||
# smartchai
|
||||
|
||||
chai + chai-as-promised + chai-string for TypeScript
|
||||
|
||||
## Availabililty
|
||||
|
||||
[![npm](https://pushrocks.gitlab.io/assets/repo-button-npm.svg)](https://www.npmjs.com/package/smartchai)
|
||||
[![git](https://pushrocks.gitlab.io/assets/repo-button-git.svg)](https://GitLab.com/pushrocks/smartchai)
|
||||
[![git](https://pushrocks.gitlab.io/assets/repo-button-mirror.svg)](https://github.com/pushrocks/smartchai)
|
||||
[![docs](https://pushrocks.gitlab.io/assets/repo-button-docs.svg)](https://pushrocks.gitlab.io/smartchai/)
|
||||
|
||||
## Status for master
|
||||
|
||||
[![build status](https://GitLab.com/pushrocks/smartchai/badges/master/build.svg)](https://GitLab.com/pushrocks/smartchai/commits/master)
|
||||
[![coverage report](https://GitLab.com/pushrocks/smartchai/badges/master/coverage.svg)](https://GitLab.com/pushrocks/smartchai/commits/master)
|
||||
[![npm downloads per month](https://img.shields.io/npm/dm/smartchai.svg)](https://www.npmjs.com/package/smartchai)
|
||||
@ -19,13 +22,13 @@ chai + chai-as-promised + chai-string for TypeScript
|
||||
[![JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)
|
||||
|
||||
## Usage
|
||||
|
||||
Use TypeScript for best in class instellisense.
|
||||
|
||||
```typescript
|
||||
import { expect } from 'smartchai';
|
||||
|
||||
expect(new Error('hi')).to.be.instanceOf(Error);
|
||||
|
||||
```
|
||||
|
||||
For further information read the linked docs at the top of this README.
|
||||
|
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -6,4 +6,4 @@ const chaiString = require("chai-string");
|
||||
chai.use(chaiAsPromised);
|
||||
chai.use(chaiString);
|
||||
exports.expect = chai.expect;
|
||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDZCQUE2QjtBQUM3QixtREFBbUQ7QUFDbkQsMENBQTBDO0FBRTFDLElBQUksQ0FBQyxHQUFHLENBQUMsY0FBYyxDQUFDLENBQUE7QUFDeEIsSUFBSSxDQUFDLEdBQUcsQ0FBQyxVQUFVLENBQUMsQ0FBQTtBQUNQLFFBQUEsTUFBTSxHQUFHLElBQUksQ0FBQyxNQUFNLENBQUEifQ==
|
||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDZCQUE4QjtBQUM5QixtREFBb0Q7QUFDcEQsMENBQTJDO0FBRTNDLElBQUksQ0FBQyxHQUFHLENBQUMsY0FBYyxDQUFDLENBQUM7QUFDekIsSUFBSSxDQUFDLEdBQUcsQ0FBQyxVQUFVLENBQUMsQ0FBQztBQUNSLFFBQUEsTUFBTSxHQUFHLElBQUksQ0FBQyxNQUFNLENBQUMifQ==
|
13
ts/index.ts
13
ts/index.ts
@ -1,8 +1,7 @@
|
||||
import chai = require('chai')
|
||||
import chaiAsPromised = require('chai-as-promised')
|
||||
import chaiString = require('chai-string')
|
||||
|
||||
chai.use(chaiAsPromised)
|
||||
chai.use(chaiString)
|
||||
export const expect = chai.expect
|
||||
import chai = require('chai');
|
||||
import chaiAsPromised = require('chai-as-promised');
|
||||
import chaiString = require('chai-string');
|
||||
|
||||
chai.use(chaiAsPromised);
|
||||
chai.use(chaiString);
|
||||
export const expect = chai.expect;
|
||||
|
Reference in New Issue
Block a user