mirror of
https://github.com/bevyengine/bevy.git
synced 2026-07-05 01:56:31 -04:00
3ca67f042a
# 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
10 lines
289 B
JavaScript
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");
|
|
});
|
|
});
|