Files
bevy/.github/start-mobile-example/specs/screenshot.js
François Mockers 3ca67f042a Update npm test dependencies (#21372)
# Objective

- We use npm for tests on wasm and on mobile
- Dependencies haven't been updated in... a long time

## Solution

- Update them

## Testing

- I ran both in local and it worked
2025-10-15 07:09:34 +00:00

10 lines
289 B
JavaScript

describe("Running Bevy Example", () => {
it("can take a screenshot", async () => {
// Sleep to wait for app startup, device rotation, ...
await new Promise((r) => setTimeout(r, 5000));
// Take local screenshot
await browser.saveScreenshot("./screenshot.png");
});
});