From 46b76af4fdad383ed722f39e26ec00bdc5fb5f6c Mon Sep 17 00:00:00 2001 From: Kirill Gavrilov Date: Thu, 26 Mar 2026 22:13:07 +0300 Subject: [PATCH] test(e2e): fix EPERM error during tests execution on Mac Fixes #7 --- e2e/constants.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/e2e/constants.ts b/e2e/constants.ts index c130fb7..b562d5f 100644 --- a/e2e/constants.ts +++ b/e2e/constants.ts @@ -1,2 +1,4 @@ +import * as path from 'node:path' + export const TIMECODES_PLUGIN_ID = 'timecodes' -export const TEST_VAULT_DIR = '.e2e_test_vault' +export const TEST_VAULT_DIR = path.resolve(process.cwd(), '.e2e_test_vault')