From f1a4c574360b0e160d59504fda5010e2a3587559 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Tue, 27 Feb 2018 22:54:38 +0100 Subject: [PATCH] format --- README.md | 5 ++++- dist/index.js | 2 +- ts/index.ts | 13 ++++++------- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 70d2147..9e24614 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/dist/index.js b/dist/index.js index 61336e1..238b154 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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== \ No newline at end of file +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDZCQUE4QjtBQUM5QixtREFBb0Q7QUFDcEQsMENBQTJDO0FBRTNDLElBQUksQ0FBQyxHQUFHLENBQUMsY0FBYyxDQUFDLENBQUM7QUFDekIsSUFBSSxDQUFDLEdBQUcsQ0FBQyxVQUFVLENBQUMsQ0FBQztBQUNSLFFBQUEsTUFBTSxHQUFHLElBQUksQ0FBQyxNQUFNLENBQUMifQ== \ No newline at end of file diff --git a/ts/index.ts b/ts/index.ts index b37988a..2d7d112 100644 --- a/ts/index.ts +++ b/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;