You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -36,7 +36,7 @@ export async function readFixture(
36
36
37
37
assert(
38
38
exists,
39
-
`Fixture file '${file}' does not exist. To make this work, place a new file '${file}' in the 'tests/fixtures/${scenario}' directory. Checked the absolute path: '${fixtureFilePath}'.`
39
+
`Fixture file '${file}' does not exist. To make this work, place a new file '${file}' in the 'tests/fixtures/${scenario}' directory. Checked the absolute path: '${fixtureFilePath}'.`,
40
40
);
41
41
42
42
letcontents=awaitfs.readFile(fixtureFilePath);
@@ -48,15 +48,15 @@ export async function writeFixture(
48
48
/**
49
49
* Which file within in the fixture-set / scenario to read
@@ -85,7 +85,7 @@ export async function copyFixture(
85
85
* The working directory to use for the relative paths. Defaults to process.cwd() (node default)
86
86
*/
87
87
cwd?: string;
88
-
}
88
+
},
89
89
){
90
90
letscenario=options?.scenario??'default';
91
91
letfixtureFile=options?.file??newFile;
@@ -99,7 +99,7 @@ export async function copyFixture(
99
99
100
100
assert(
101
101
exists,
102
-
`Fixture path '${fixtureFile}' does not exist. To make this work, place a new file/folder '${fixtureFile}' in the 'tests/fixtures/${scenario}' directory. Checked the absolute path: '${fullFixturePath}'.`
102
+
`Fixture path '${fixtureFile}' does not exist. To make this work, place a new file/folder '${fixtureFile}' in the 'tests/fixtures/${scenario}' directory. Checked the absolute path: '${fullFixturePath}'.`,
0 commit comments