mirror of
https://github.com/Kong/insomnia.git
synced 2026-11-06 04:53:59 -05:00
fix(insomnia-test): use import.meta.dirname instead of __dirname in ESM specs
insomnia-test is "type": "module", so __dirname is undefined and `playwright test --list` collected 0 tests, failing the Shard Matrix job. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1b5574301b
commit
af0e7daba5
1 file changed
+1
-1
@@ -17,7 +17,7 @@ test("Verify Client Certificate Toggle Controls mTLS Enforcement For gRPC Reques
|
||||
|
||||
await preferencesFlow.set({
|
||||
validateSSL: false,
|
||||
dataFolders: [path.join(__dirname, "../../misc/fixtures")],
|
||||
dataFolders: [path.join(import.meta.dirname, "../../misc/fixtures")],
|
||||
});
|
||||
|
||||
const project = await workspaceFlow.createProject(
|
||||
|
||||
Reference in new issue
Block a user