Skip to content

Commit 264b634

Browse files
committed
chore(deps): Update all but Typescript.
1 parent 3f37f4c commit 264b634

File tree

3 files changed

+549
-696
lines changed

3 files changed

+549
-696
lines changed

lib/vpt/texture.spec.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ describe('The VPinball texture parser', () => {
5757
const threeTexture = await texture.loadTexture(loader, vpt);
5858
const jpg = await threeTexture.image.getImage(false, 100);
5959
const png = await sharp(jpg).png().toBuffer();
60-
const match = await comparePngs(png, testPng);
60+
const match = await comparePngs(png, testPng, 30);
6161
expect(match).to.equal(true);
6262
});
6363

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

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

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

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

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

132132
const jpg = await threeTexture.image.getImage(false, 100);
133133
const png = await sharp(jpg).png().toBuffer();
134-
const match = await comparePngs(png, testLocalGottliebKicker);
134+
const match = await comparePngs(png, testLocalGottliebKicker, 30);
135135
expect(match).to.equal(true);
136136
});
137137

0 commit comments

Comments
 (0)