Skip to content

Commit

Permalink
fix(esbuild): disable missing .css test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dae committed Mar 28, 2021
1 parent 41708b5 commit eac460b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/esbuild/test/css/bundle_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ const cssExpected = helper.resolve(path.join(locationBase, "with_css.css"));

describe("esbuild css", () => {
it("no css by default", () => {
if (process.platform === "win32") {
// Windows has no sandbox, and the runfiles helper will return files
// that happen to exist in the folder, even if they are not declared outputs
return;
}
expect(() =>
helper.resolve(path.join(locationBase, "default.css"))
).toThrow();
Expand Down

0 comments on commit eac460b

Please sign in to comment.