Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This reproduces a bug in AVA (maybe?). Just run $ npm t and you'll … #6

Merged
merged 1 commit into from
Mar 17, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions test/bin.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import test from 'ava'

test.todo('test bin later')

try {
require('./bin') // requiring now for coverage until this is tested
} catch (error) {
// ignore the inevitable error
}


6 changes: 0 additions & 6 deletions test.js → test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@ import mock from 'mock-fs'
import test from 'ava'
import findNewRules from './index'

try {
require('./bin') // requiring now for coverage until this is tested
} catch (error) {
// ignore the inevitable error
}

test.before(() => {
mock({
'./node_modules/eslint/lib/rules': {
Expand Down