Skip to content

Commit 819887f

Browse files
committed
fix: remove unncessary test
1 parent d104518 commit 819887f

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

src/SizeLimit.spec.ts

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -143,26 +143,4 @@ describe("SizeLimit", () => {
143143
["dist/new.js", "98.53 KB (+100% 🔺)"],
144144
]);
145145
});
146-
147-
test("should ignore unchanged files", () => {
148-
const limit = new SizeLimit();
149-
const base = {
150-
"dist/index.js": {
151-
name: "dist/index.js",
152-
size: 110894,
153-
},
154-
};
155-
const current = {
156-
"dist/new.js": {
157-
name: "dist/new.js",
158-
size: 100894,
159-
},
160-
};
161-
162-
expect(limit.formatResults(base, current)).toEqual([
163-
SizeLimit.SIZE_RESULTS_HEADER,
164-
["dist/index.js", "0 B (-100% 🔽)"],
165-
["dist/new.js", "98.53 KB (+100% 🔺)"],
166-
]);
167-
});
168146
});

0 commit comments

Comments
 (0)