mirror of
https://github.com/0x5eal/rbxts-pako.git
synced 2025-05-04 10:33:48 +01:00
Add simple minifier test, #161
This commit is contained in:
parent
731065b150
commit
f256ab91b5
1 changed files with 8 additions and 0 deletions
|
@ -24,4 +24,12 @@ describe('ArrayBuffer', function () {
|
||||||
it('Inflate ArrayBuffer', function () {
|
it('Inflate ArrayBuffer', function () {
|
||||||
assert.ok(cmp(sample, pako.inflate(deflated.buffer)));
|
assert.ok(cmp(sample, pako.inflate(deflated.buffer)));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it.skip('Simplified minified version test', function () {
|
||||||
|
// At some point minifier started to corrupt str2buf function
|
||||||
|
// https://github.com/nodeca/pako/issues/161#issuecomment-468420555
|
||||||
|
var minified = require('../dist/pako.min.js');
|
||||||
|
|
||||||
|
assert.ok(cmp(minified.deflate('→'), pako.deflate('→')));
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue