diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 52eacc9195..23b9b97bbf 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,7 +29,7 @@ repos: rev: 'v2.2.6' hooks: - id: codespell - args: ['-L', 'hart,noteable', '-S', 'ui-tests'] + args: ['-L', 'hart,noteable', '--skip', "*.spec.ts"] exclude: | (?x)^( yarn.lock| diff --git a/ui-tests/test/mobile.spec.ts b/ui-tests/test/mobile.spec.ts index e289dbc46c..18a1db7b0e 100644 --- a/ui-tests/test/mobile.spec.ts +++ b/ui-tests/test/mobile.spec.ts @@ -14,6 +14,7 @@ test.use({ }); test.describe('Mobile', () => { + // manually create the test directory since tmpPath is set to a fixed value test.beforeAll(async ({ request, tmpPath }) => { const contents = galata.newContentsHelper(request); await contents.createDirectory(tmpPath);