Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
Remove unnecessary test
Browse files Browse the repository at this point in the history
  • Loading branch information
occar421 committed Jan 1, 2021
1 parent c71d80b commit 7130be5
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions test/loader.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,6 @@ import {

afterEach(removeGeneratedFiles);

it("should not affect file content in webpack pipeline", async () => {
const sourceFileName = "./fixtures/foo.txt";
const sourceFileContent = await readFileAsync(sourceFileName);
const status = await compiler(sourceFileName, {
transmitRules: [{ test: /\/(.*$)/, targets: ["$1.null"] }],
});
const output = status.toJson().modules[0].source;
expect(output).toBe(sourceFileContent);
});

it("should not renew itself by default", async () => {
// to prevent infinite renewing
const targetFileName = "./fixtures/foo.txt";
Expand Down

0 comments on commit 7130be5

Please sign in to comment.