Skip to content

Commit 75cf005

Browse files
committed
Fix await
1 parent 8309120 commit 75cf005

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

scripts/src/__tests__/setupPipeline.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ test.each(inputs)("setupPipeline input=%s", async input => {
6363
error = e;
6464
}
6565

66-
expect(result?.matrix).toMatchFileSnapshot(getSnapshotPath(input, "matrix"));
67-
expect(result?.outputVariables).toMatchFileSnapshot(getSnapshotPath(input, "outputVariables"));
68-
expect(result?.compute).toMatchFileSnapshot(getSnapshotPath(input, "compute"));
69-
expect(result?.parameters).toMatchFileSnapshot(getSnapshotPath(input, "parameters"));
70-
expect(error).toMatchFileSnapshot(getSnapshotPath(input, "error"));
66+
await expect(result?.matrix).toMatchFileSnapshot(getSnapshotPath(input, "matrix"));
67+
await expect(result?.outputVariables).toMatchFileSnapshot(getSnapshotPath(input, "outputVariables"));
68+
await expect(result?.compute).toMatchFileSnapshot(getSnapshotPath(input, "compute"));
69+
await expect(result?.parameters).toMatchFileSnapshot(getSnapshotPath(input, "parameters"));
70+
await expect(error).toMatchFileSnapshot(getSnapshotPath(input, "error"));
7171
});
7272

7373
function getAllExpectedSnapshots() {

0 commit comments

Comments
 (0)