In a rule check that we do not create a test files (a file containing import test from 'ava';?) in a path that is not in an ignored path like fixtures or helpers.
test/units/foo/myTestFile.js should not trigger an error
test/units/foo/helpers/myHelper.js should not trigger an error
test/units/foo/helpers/myTestFile.js should trigger an error
In a rule check that we do not create a test files (a file containing
import test from 'ava';?) in a path that is not in an ignored path likefixturesorhelpers.test/units/foo/myTestFile.jsshould not trigger an errortest/units/foo/helpers/myHelper.jsshould not trigger an errortest/units/foo/helpers/myTestFile.jsshould trigger an error