Skip to content

Commit

Permalink
fix: change package name to expect-jsx
Browse files Browse the repository at this point in the history
fixes #3
ref #1

BREAKING CHANGE: package is now installed with `npm install expect-jsx
--save-dev`
  • Loading branch information
vvo committed Oct 19, 2015
1 parent ce8c73d commit 665ed66
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 28 deletions.
30 changes: 15 additions & 15 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,70 +1,70 @@
<a name="1.1.4"></a>
## [1.1.4](https://github.com/algolia/expect-to-equal-jsx/compare/v1.1.3...v1.1.4) (2015-10-16)
## [1.1.4](https://github.com/algolia/expect-jsx/compare/v1.1.3...v1.1.4) (2015-10-16)


### Bug Fixes

* handle high order components (~decorators) name ([96f13af](https://github.com/algolia/expect-to-equal-jsx/commit/96f13af))
* handle high order components (~decorators) name ([96f13af](https://github.com/algolia/expect-jsx/commit/96f13af))



<a name="1.1.3"></a>
## [1.1.3](https://github.com/algolia/expect-to-equal-jsx/compare/v1.1.2...v1.1.3) (2015-10-16)
## [1.1.3](https://github.com/algolia/expect-jsx/compare/v1.1.2...v1.1.3) (2015-10-16)


### Bug Fixes

* handle props.children.length > 1 + array values ([c86a9a4](https://github.com/algolia/expect-to-equal-jsx/commit/c86a9a4))
* handle props.children.length > 1 + array values ([c86a9a4](https://github.com/algolia/expect-jsx/commit/c86a9a4))



<a name="1.1.2"></a>
## [1.1.2](https://github.com/algolia/expect-to-equal-jsx/compare/v1.1.1...v1.1.2) (2015-10-16)
## [1.1.2](https://github.com/algolia/expect-jsx/compare/v1.1.1...v1.1.2) (2015-10-16)


### Bug Fixes

* handle props.children.length > 1 ([a76b7c2](https://github.com/algolia/expect-to-equal-jsx/commit/a76b7c2))
* handle props.children.length > 1 ([a76b7c2](https://github.com/algolia/expect-jsx/commit/a76b7c2))



<a name="1.1.1"></a>
## [1.1.1](https://github.com/algolia/expect-to-equal-jsx/compare/v1.1.0...v1.1.1) (2015-10-16)
## [1.1.1](https://github.com/algolia/expect-jsx/compare/v1.1.0...v1.1.1) (2015-10-16)


### Bug Fixes

* handle empty objects ([df08165](https://github.com/algolia/expect-to-equal-jsx/commit/df08165))
* handle empty objects ([df08165](https://github.com/algolia/expect-jsx/commit/df08165))



<a name="1.1.0"></a>
# [1.1.0](https://github.com/algolia/expect-to-equal-jsx/compare/v1.0.3...v1.1.0) (2015-10-16)
# [1.1.0](https://github.com/algolia/expect-jsx/compare/v1.0.3...v1.1.0) (2015-10-16)


### Features

* deeply set functions and React elements now well inlined ([8424e21](https://github.com/algolia/expect-to-equal-jsx/commit/8424e21))
* deeply set functions and React elements now well inlined ([8424e21](https://github.com/algolia/expect-jsx/commit/8424e21))



<a name="1.0.3"></a>
## [1.0.3](https://github.com/algolia/expect-to-equal-jsx/compare/v1.0.2...v1.0.3) (2015-10-16)
## [1.0.3](https://github.com/algolia/expect-jsx/compare/v1.0.2...v1.0.3) (2015-10-16)


### Bug Fixes

* handle null and undefined prop values ([33b8fca](https://github.com/algolia/expect-to-equal-jsx/commit/33b8fca))
* handle null and undefined prop values ([33b8fca](https://github.com/algolia/expect-jsx/commit/33b8fca))



<a name="1.0.2"></a>
## [1.0.2](https://github.com/algolia/expect-to-equal-jsx/compare/v1.0.1...v1.0.2) (2015-10-15)
## [1.0.2](https://github.com/algolia/expect-jsx/compare/v1.0.1...v1.0.2) (2015-10-15)


### Bug Fixes

* **deps:** lower down the peer dep requirements ([5d526d5](https://github.com/algolia/expect-to-equal-jsx/commit/5d526d5))
* **deps:** lower down the peer dep requirements ([5d526d5](https://github.com/algolia/expect-jsx/commit/5d526d5))



Expand All @@ -74,7 +74,7 @@

### Bug Fixes

* upgrade react-element-to-jsx-string (whitespace, sort keys) ([df977b4](https://github.com/algolia/expect-to-equal-jsx/commit/df977b4))
* upgrade react-element-to-jsx-string (whitespace, sort keys) ([df977b4](https://github.com/algolia/expect-jsx/commit/df977b4))



Expand Down
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# expect-to-equal-jsx
# expect-jsx

[![Version][version-svg]][package-url] [![Build Status][travis-svg]][travis-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]

[travis-svg]: https://img.shields.io/travis/algolia/expect-to-equal-jsx/master.svg?style=flat-square
[travis-url]: https://travis-ci.org/algolia/expect-to-equal-jsx
[travis-svg]: https://img.shields.io/travis/algolia/expect-jsx/master.svg?style=flat-square
[travis-url]: https://travis-ci.org/algolia/expect-jsx
[license-image]: http://img.shields.io/badge/license-MIT-green.svg?style=flat-square
[license-url]: LICENSE
[downloads-image]: https://img.shields.io/npm/dm/expect-to-equal-jsx.svg?style=flat-square
[downloads-url]: http://npm-stat.com/charts.html?package=expect-to-equal-jsx
[version-svg]: https://img.shields.io/npm/v/expect-to-equal-jsx.svg?style=flat-square
[package-url]: https://npmjs.org/package/expect-to-equal-jsx
[downloads-image]: https://img.shields.io/npm/dm/expect-jsx.svg?style=flat-square
[downloads-url]: http://npm-stat.com/charts.html?package=expect-jsx
[version-svg]: https://img.shields.io/npm/v/expect-jsx.svg?style=flat-square
[package-url]: https://npmjs.org/package/expect-jsx
[screenshot]: ./screenshot.png

toEqualJSX for [mjackson/expect](https://github.com/mjackson/expect).
Expand All @@ -20,7 +20,7 @@ It uses [algolia/react-element-to-jsx-string](https://github.com/algolia/react-e
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*

- [expect-to-equal-jsx](#expect-to-equal-jsx)
- [expect-jsx](#expect-jsx)
- [Setup](#setup)
- [Usage](#usage)
- [A note about functions](#a-note-about-functions)
Expand All @@ -32,16 +32,18 @@ It uses [algolia/react-element-to-jsx-string](https://github.com/algolia/react-e

## Setup

You will most probably use this plugin as a development dependency.

```sh
npm install expect-to-equal-jsx --save[-dev]
npm install expect-jsx --save-dev
```

## Usage

```js
import React from 'react';
import expect from 'expect';
import toEqualJSX from 'expect-to-equal-jsx';
import toEqualJSX from 'expect-jsx';

expect.extend({toEqualJSX});

Expand Down
2 changes: 1 addition & 1 deletion npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "expect-to-equal-jsx",
"name": "expect-jsx",
"version": "1.1.4",
"description": "toEqualJSX for mjackson/expect",
"main": "index-dist.js",
Expand All @@ -15,7 +15,7 @@
"dependencies": {
"react-element-to-jsx-string": "^2.0.4"
},
"repository": "algolia/expect-to-equal-jsx",
"repository": "algolia/expect-jsx",
"devDependencies": {
"babel": "^5.8.23",
"babel-eslint": "^4.1.3",
Expand Down

0 comments on commit 665ed66

Please sign in to comment.