sindresorhus on main
Minor tweaks (compare)
sindresorhus on master
sindresorhus on main
sindresorhus on master
Move to GitHub Actions (#16) (compare)
sources
from your config? I'm not certain about the semantics within AVA's internals, but I think the problem might be that you are overriding the default glob patterns for which files to watch, rather than adding to them. Since your test files are not listed in sources
, that would mean changes to your tests do not cause the tests to be re-run. But the default does include the test files, so deleting sources
should fix it.
import {serial as test} from 'ava';
? The intent is for this one test file to act as though it were run with ava -s
. I do use test.before
and test.after.always
in this specific test file.
class Device {
id: string;
path: string;
files: Array<DeviceFile>;
treatmentsCount: number;
get isEmpty(): boolean {
return this.files.length === 0;
}
}
export default Device;
$ npx ava build/account/source/test.js --verbose
โ Couldnโt find any files to test