Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/excaliburjs/sample-platformer. Sample Platformer built in Excalibur excaliburjs.com/sample-platformer
Something went wrong. Try again.
1234567891011const { expectLoaded, expectPage, test } = require('@excaliburjs/testing');
test('A sample platformer', async (page) => { await page.evaluate(() => { window.__TESTING = true; }); await expectLoaded(); await page.waitForTimeout(500);
await expectPage('Platfomer', './test/integration/images/actual-platformer.png').toBe('./test/integration/images/expected-platformer.png');});