Skip to content

Commit 5d85359

Browse files
committed
fix: Update import name in loadFixture
1 parent 8883f5b commit 5d85359

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/test-case-component/src/loadFixture.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { TargetPlainObject, TestCaseFixture, TestCaseSnapshot } from "@cursorless/common";
2-
import { generateHtml } from "./generateHtml.js";
2+
import { generateHtml } from "./generateHtml";
33
import type { BundledLanguage } from "shiki";
44

55
async function safeGenerateHtml({
@@ -90,8 +90,7 @@ async function getDuring(data: DataFixture) {
9090
const stateName = "middleState"
9191
const state = data.initialState
9292
const languageId = data.languageId as BundledLanguage
93-
const { thatMark: thatMarkFinalState } = data.finalState
94-
const genObj: TestCaseSnapshot & typeof thatMarkFinalState = { stateName, state, languageId, raw: data }
93+
const genObj: TestCaseSnapshot & { stateName: string } = { stateName, state, languageId, raw: data }
9594
if (command) {
9695
genObj.command = command
9796
}

0 commit comments

Comments
 (0)