Skip to content

Commit

Permalink
chore(deps): Update all but Typescript.
Browse files Browse the repository at this point in the history
  • Loading branch information
freezy committed Nov 11, 2020
1 parent 3f37f4c commit 264b634
Show file tree
Hide file tree
Showing 3 changed files with 549 additions and 696 deletions.
12 changes: 6 additions & 6 deletions lib/vpt/texture.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ describe('The VPinball texture parser', () => {
const threeTexture = await texture.loadTexture(loader, vpt);
const jpg = await threeTexture.image.getImage(false, 100);
const png = await sharp(jpg).png().toBuffer();
const match = await comparePngs(png, testPng);
const match = await comparePngs(png, testPng, 30);
expect(match).to.equal(true);
});

Expand All @@ -66,7 +66,7 @@ describe('The VPinball texture parser', () => {
const threeTexture = await texture.loadTexture(loader, vpt);
const jpg = await threeTexture.image.getImage(false, 100);
const png = await sharp(jpg).png().toBuffer();
const match = await comparePngs(png, testPng);
const match = await comparePngs(png, testPng, 30);
expect(match).to.equal(true);
});

Expand All @@ -75,7 +75,7 @@ describe('The VPinball texture parser', () => {
const threeTexture = await texture.loadTexture(loader, vpt);
const jpg = await threeTexture.image.getImage(false, 100);
const png = await sharp(jpg).png().toBuffer();
const match = await comparePngs(png, testPng);
const match = await comparePngs(png, testPng, 30);
expect(match).to.equal(true);
});

Expand All @@ -84,7 +84,7 @@ describe('The VPinball texture parser', () => {
const threeTexture = await texture.loadTexture(loader, vpt);
const jpg = await threeTexture.image.getImage(false, 100);
const png = await sharp(jpg).png().toBuffer();
const match = await comparePngs(png, testPng);
const match = await comparePngs(png, testPng, 30);
expect(match).to.equal(true);
});

Expand All @@ -94,7 +94,7 @@ describe('The VPinball texture parser', () => {
threeTexture.image.resize(1024, 512);
const jpg = await threeTexture.image.getImage(false, 100);
const png = await sharp(jpg).png().toBuffer();
const match = await comparePngs(png, testPngPow2, 20);
const match = await comparePngs(png, testPngPow2, 50);
expect(match).to.equal(true);
});

Expand Down Expand Up @@ -131,7 +131,7 @@ describe('The VPinball texture parser', () => {

const jpg = await threeTexture.image.getImage(false, 100);
const png = await sharp(jpg).png().toBuffer();
const match = await comparePngs(png, testLocalGottliebKicker);
const match = await comparePngs(png, testLocalGottliebKicker, 30);
expect(match).to.equal(true);
});

Expand Down
Loading

0 comments on commit 264b634

Please sign in to comment.