Skip to content

Commit

Permalink
add test to prove rule fix integration level
Browse files Browse the repository at this point in the history
  • Loading branch information
rizowski committed Apr 26, 2019
1 parent e439e97 commit de0920f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/integration/integration-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,14 @@ describe('integration', () => {
});
});

describe('rule', () => {
it('parses inline rules correctly', async () => {
const result = await esw.run([...preStuff, '--rule', 'no-unused-vars: off', '--quiet', '--no-ignore', testFiles]);

expect(result).to.eql('');
});
});

describe('version', () => {
it('prints out eslint-watch version with --esw-version', async () => {
const output = await esw.run([...preStuff, '--version']);
Expand Down

0 comments on commit de0920f

Please sign in to comment.