You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have 3 files with the exact same tests with the exact same names.
Each file, however, tests a different implementation.
For the sake of example, you can think of 2 files with the same tests once testing lodash and other testing underscore.
If I run ava test/{test1,test2,test2}.js my tests pass just fine.
If I run ava test/*.js my tests fail with error: Duplicate test title: <my test title>
I guess that it has to do with the isolation between files and processes. But how you define the pattern shouldn't have any impact on this. Or should it?
The text was updated successfully, but these errors were encountered:
I have 3 files with the exact same tests with the exact same names.
Each file, however, tests a different implementation.
For the sake of example, you can think of 2 files with the same tests once testing lodash and other testing underscore.
If I run
ava test/{test1,test2,test2}.js
my tests pass just fine.If I run
ava test/*.js
my tests fail witherror: Duplicate test title: <my test title>
I guess that it has to do with the isolation between files and processes. But how you define the pattern shouldn't have any impact on this. Or should it?
The text was updated successfully, but these errors were encountered: