Skip to content

Commit

Permalink
fixup! core(fix): recognize zstd as a compression algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
selfisekai committed Mar 25, 2024
1 parent 155f3dc commit e65a4e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/test/lib/network-request-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ describe('NetworkRequest', () => {
const isContentEncoded = NetworkRequest.isContentEncoded;

it('correctly identifies no compression', () => {
expect(isContentEncoded({responseHeaders: {}})).toBe(false);
expect(isContentEncoded({responseHeaders: []})).toBe(false);
});
it('correctly identifies brotli', () => {
expect(isContentEncoded({
Expand Down

0 comments on commit e65a4e3

Please sign in to comment.