Skip to content

Commit

Permalink
custom: Update tests to respect customizations
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Jan 4, 2024
1 parent 77e9fa9 commit b2503ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/integration/__tests__/cache.js
Expand Up @@ -230,7 +230,7 @@ describe("--cache option", () => {
expect(stripAnsi(secondStdout).split("\n").filter(Boolean)).toEqual(
expect.arrayContaining([
expect.stringMatching(/^a\.js .+ms$/),
expect.stringMatching(/^b\.js .+ms \(cached\)$/),
expect.stringMatching(/^b\.js .+ms$/),
])
);
});
Expand Down Expand Up @@ -258,7 +258,7 @@ describe("--cache option", () => {
expect(stripAnsi(thirdStdout).split("\n").filter(Boolean)).toEqual(
expect.arrayContaining([
expect.stringMatching(/^a\.js .+ms$/),
expect.stringMatching(/^b\.js .+ms \(cached\)$/),
expect.stringMatching(/^b\.js .+ms$/),
])
);
});
Expand Down Expand Up @@ -453,7 +453,7 @@ describe("--cache option", () => {
expect(stripAnsi(secondStdout).split("\n").filter(Boolean)).toEqual(
expect.arrayContaining([
expect.stringMatching(/^a\.js .+ms$/),
expect.stringMatching(/^b\.js .+ms \(cached\)$/),
expect.stringMatching(/^b\.js .+ms$/),
])
);
});
Expand Down

0 comments on commit b2503ef

Please sign in to comment.