Skip to content

Commit 4bd7333

Browse files
committed
removed unused tests
1 parent 0c262cc commit 4bd7333

File tree

1 file changed

+0
-41
lines changed

1 file changed

+0
-41
lines changed

packages/bundler-plugin-core/src/utils/__tests__/Output.test.ts

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -253,47 +253,6 @@ describe("Output", () => {
253253
});
254254
});
255255

256-
describe("resetBundleName method", () => {
257-
describe("bundle name is not locked", () => {
258-
it("resets the bundle name", () => {
259-
const output = new Output({
260-
apiUrl: "http://localhost",
261-
bundleName: "output-test",
262-
debug: false,
263-
dryRun: false,
264-
enableBundleAnalysis: true,
265-
retryCount: 1,
266-
uploadToken: "token",
267-
});
268-
269-
output.setBundleName("new-bundle");
270-
output.resetBundleName();
271-
272-
expect(output.bundleName).toBe("output-test");
273-
});
274-
});
275-
276-
describe("bundle name is locked", () => {
277-
it("does not reset the bundle name", () => {
278-
const output = new Output({
279-
apiUrl: "http://localhost",
280-
bundleName: "output-test",
281-
debug: false,
282-
dryRun: false,
283-
enableBundleAnalysis: true,
284-
retryCount: 1,
285-
uploadToken: "token",
286-
});
287-
288-
output.setBundleName("new-bundle");
289-
output.lockBundleName();
290-
output.resetBundleName();
291-
292-
expect(output.bundleName).toBe("new-bundle");
293-
});
294-
});
295-
});
296-
297256
describe("write method", () => {
298257
describe("dryRun is enabled", () => {
299258
it("immediately returns", async () => {

0 commit comments

Comments
 (0)