Skip to content

Commit

Permalink
fix(test): Fix rule existence test
Browse files Browse the repository at this point in the history
  • Loading branch information
scottnonnenberg committed Nov 16, 2021
1 parent 49d2360 commit 425b0cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/unit/test_index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ var index = require('src/index');

describe('index', function() {
it('has truthy property "absolute-or-current-dir"', function() {
expect(index).to.have.deep.property('rules.absolute-or-current-dir').that.exist;
expect(index.rules).to.have.property('absolute-or-current-dir').that.exist;
});

it('has truthy property "no-mutation"', function() {
expect(index).to.have.deep.property('rules.no-mutation').that.exist;
expect(index.rules).to.have.property('no-mutation').that.exist;
});

it('has truthy property "no-array-mutation"', function() {
expect(index).to.have.deep.property('rules.no-array-mutation').that.exist;
expect(index.rules).to.have.property('no-array-mutation').that.exist;
});
});

0 comments on commit 425b0cb

Please sign in to comment.