Commit 4f679d9c authored by Farid Nouri Neshat's avatar Farid Nouri Neshat

Fix usage

parent 0828c5ee
# chai-wildcard [![NPM version][npm-image]][npm-url]
> A chai plugin that adds `.matchWildcard`
This is mainly a wrapper for [matcher module](https://github.com/sindresorhus/matcher).
This is mainly a Chai wrapper for [matcher module](https://github.com/sindresorhus/matcher).
## Installation
......@@ -18,8 +18,8 @@ const chai = require("chai");
chai.use(chaiWildcard);
const { expect } = chai;
expect('some string').to.match.wildcard('some*')
.and.match('!something else');
expect('some string').to.matchWildcard('some*')
.and.matchWildcard('!something else');
```
## License
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment