From 1cdbe8eaa93a592663f82a7ba99c03c2f0f299fa Mon Sep 17 00:00:00 2001 From: Shane Friedman Date: Sat, 12 Oct 2024 11:40:15 -0400 Subject: [PATCH] Temp: limit to 1 test --- package.json | 2 +- src/components/__tests__/ProseMirror.draw-decoration.test.tsx | 2 +- wdio.conf.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index b8d191b1..fb4608d2 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "fix:toc": "markdown-toc --bullets='-' -i README.md", "fix": "concurrently -P 'npm:fix:* {@}' --", "prepack": "yarn build", - "test:wdio": "wdio run ./wdio.conf.ts", + "test:wdio": "wdio run ./wdio.conf.ts --spec src/components/__tests__/ProseMirror.draw-decoration.test.tsx", "test:unit": "jest", "test": "yarn test:unit && yarn test:wdio" }, diff --git a/src/components/__tests__/ProseMirror.draw-decoration.test.tsx b/src/components/__tests__/ProseMirror.draw-decoration.test.tsx index 249f46ed..a6aad559 100644 --- a/src/components/__tests__/ProseMirror.draw-decoration.test.tsx +++ b/src/components/__tests__/ProseMirror.draw-decoration.test.tsx @@ -90,7 +90,7 @@ function updateDeco( } describe("Decoration drawing", () => { - it("draws inline decorations", async () => { + it.only("draws inline decorations", async () => { const { view } = tempEditor({ doc: doc(p("foobar")), plugins: [decoPlugin(["2-5-foo"])], diff --git a/wdio.conf.ts b/wdio.conf.ts index 73bc79f5..bb463f38 100644 --- a/wdio.conf.ts +++ b/wdio.conf.ts @@ -72,7 +72,7 @@ export const config: WebdriverIO.Config = { // Define all options that are relevant for the WebdriverIO instance here // // Level of logging verbosity: trace | debug | info | warn | error | silent - logLevel: "info", + logLevel: "warn", // // Set specific log levels per logger // loggers: