We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac1b747 commit a80a533Copy full SHA for a80a533
1 file changed
openvidu-components-angular/openvidu-demo-app/frontend/e2e/room.test.ts
@@ -237,7 +237,8 @@ describe('Testing Room', () => {
237
// includeAA: false,
238
// diffColor: [255, 0, 0]
239
});
240
- fs.writeFileSync('diff.png', PNG.sync.write(diff));
+ const diffBuffer = PNG.sync.write(diff);
241
+ fs.writeFileSync('diff.png', new Uint8Array(diffBuffer));
242
expect(numDiffPixels).to.be.greaterThan(500, 'The virtual background was not applied correctly');
243
244
0 commit comments