File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import fs from "fs";
33import path from "path" ;
44import Head from "next/head" ;
55
6- import { loadFixture } from "@cursorless/test-case-component" ;
6+ import { loadTestCaseFixture } from "@cursorless/test-case-component" ;
77import { TestCaseComponentPage } from "@cursorless/test-case-component" ;
88import type { TestCaseFixture } from "@cursorless/common" ;
99import { testSelectedFiles } from "./allowList" ;
@@ -55,7 +55,7 @@ export async function getStaticProps() {
5555 [ ...dataActions , ...dataDecorations ] . map ( async ( val ) => {
5656 try {
5757 // const upgraded = upgrade(data);
58- const fixture = await loadFixture ( val ) ;
58+ const fixture = await loadTestCaseFixture ( val ) ;
5959 return { ...fixture , raw : val } ;
6060 } catch ( err ) {
6161 console . error ( err ) ;
Original file line number Diff line number Diff line change 11export * from "./components/TestCaseComponentPage" ;
2- export * from "./loadFixture " ;
2+ export * from "./loadTestCaseFixture " ;
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ interface loadFixtureProps extends TestCaseFixture {
3535 finalState : TestCaseSnapshot ;
3636}
3737
38- export async function loadFixture ( data : loadFixtureProps ) {
38+ export async function loadTestCaseFixture ( data : loadFixtureProps ) {
3939 try {
4040 const before = await getBefore ( {
4141 stateName : "initialState" ,
You can’t perform that action at this time.
0 commit comments