Skip to content

Commit

Permalink
Merge pull request #222 from tschaub/denar90-patch
Browse files Browse the repository at this point in the history
Update readme to use const
  • Loading branch information
tschaub committed Oct 13, 2017
2 parents 72e8982 + 1ed9d5c commit 4af814d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Expand Up @@ -7,7 +7,7 @@ The `mock-fs` module allows Node's built-in [`fs` module](http://nodejs.org/api/
The code below makes it so the `fs` module is temporarily backed by a mock file system with a few files and directories.

```js
var mock = require('mock-fs');
const mock = require('mock-fs');

mock({
'path/to/fake/dir': {
Expand Down

0 comments on commit 4af814d

Please sign in to comment.