Skip to content

🎥 Make videos programmatically with React

@remotion/bundler: Fix formatting for test file

copilot-swe-agent[bot]51c432098bea
diff --git a/packages/bundler/src/test/ignore-packfilecache-warnings.test.ts b/packages/bundler/src/test/ignore-packfilecache-warnings.test.ts
index 6d8b8f78b7..80fbe41521 100644
--- a/packages/bundler/src/test/ignore-packfilecache-warnings.test.ts
+++ b/packages/bundler/src/test/ignore-packfilecache-warnings.test.ts
@@ -3,20 +3,20 @@ import {IgnorePackFileCacheWarningsPlugin} from '../ignore-packfilecache-warning
test('IgnorePackFileCacheWarningsPlugin should filter PackFileCacheStrategy warnings', () => {
const plugin = new IgnorePackFileCacheWarningsPlugin();
-
+
// Should filter out the target warning
const targetWarning = new Error(
- '[webpack.cache.PackFileCacheStrategy] Serializing big strings (917kiB) impacts deserialization performance (consider using Buffer instead and decode when needed)'
+ '[webpack.cache.PackFileCacheStrategy] Serializing big strings (917kiB) impacts deserialization performance (consider using Buffer instead and decode when needed)',
);
expect(plugin.filter(targetWarning)).toBe(false);
-
+
// Should allow other warnings through
const otherWarning = new Error('Some other webpack warning');
expect(plugin.filter(otherWarning)).toBe(true);
-
+
// Should allow warnings with similar but not exact text
const similarWarning = new Error(
- '[webpack.cache.SomeOtherStrategy] Serializing big strings'
+ '[webpack.cache.SomeOtherStrategy] Serializing big strings',
);
expect(plugin.filter(similarWarning)).toBe(true);
-});
\ No newline at end of file
+});