We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d104518 commit 819887fCopy full SHA for 819887f
src/SizeLimit.spec.ts
@@ -143,26 +143,4 @@ describe("SizeLimit", () => {
143
["dist/new.js", "98.53 KB (+100% 🔺)"],
144
]);
145
});
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
- });
168
0 commit comments