From c9337120b751efe45b5ba2278c75227d21414a3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Tue, 22 Oct 2024 19:23:59 -0400 Subject: [PATCH] bootstrap finished hopefully --- packages/test-project/package.json | 3 ++- packages/test-project/playwright.config.ts | 2 +- packages/test-project/tsconfig.json | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/test-project/package.json b/packages/test-project/package.json index db594f1..e4dd55a 100644 --- a/packages/test-project/package.json +++ b/packages/test-project/package.json @@ -25,5 +25,6 @@ "obsidian": "latest", "tslib": "2.4.0", "typescript": "4.7.4" - } + }, + "type": "module" } diff --git a/packages/test-project/playwright.config.ts b/packages/test-project/playwright.config.ts index 512a3d2..4666aef 100644 --- a/packages/test-project/playwright.config.ts +++ b/packages/test-project/playwright.config.ts @@ -1,5 +1,5 @@ import { defineConfig, devices } from '@playwright/test'; -import * as fix from "obsidian-testing-framework/fixture"; +import {ObsidianTestFixtures} from "obsidian-testing-framework/fixture"; /** * Read environment variables from file. diff --git a/packages/test-project/tsconfig.json b/packages/test-project/tsconfig.json index c44b729..3a15554 100644 --- a/packages/test-project/tsconfig.json +++ b/packages/test-project/tsconfig.json @@ -3,11 +3,11 @@ "baseUrl": ".", "inlineSourceMap": true, "inlineSources": true, - "module": "ESNext", + "module": "Node16", "target": "ES6", "allowJs": true, "noImplicitAny": true, - "moduleResolution": "node", + "moduleResolution": "Node16", "importHelpers": true, "isolatedModules": true, "strictNullChecks": true, @@ -16,7 +16,7 @@ "ES5", "ES6", "ES7" - ] + ], }, "include": [ "**/*.ts"