Skip to content

Commit

Permalink
Tweak test matchers
Browse files Browse the repository at this point in the history
I think it makes sense to keep e2e test files closer to the implementation files (along with unit tests), rather than group them with the Storybook files. This is because I think we'll be testing different functionality (undo, collab, etc.) using some of the same stories.
  • Loading branch information
mirka committed May 12, 2022
1 parent b220942 commit 13901df
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ import { devices } from '@playwright/test';
* See https://playwright.dev/docs/test-configuration.
*/
const config: PlaywrightTestConfig = {
testDir: './tests',
testDir: './src',
testMatch: '**/__tests__/e2e/**/*.spec.ts',

/* Maximum time one test can run for. */
timeout: 30 * 1000,
expect: {
Expand Down

0 comments on commit 13901df

Please sign in to comment.