Skip to content

Commit e717250

Browse files
feat(stability.test.ts): fix ci
1 parent 0bada4a commit e717250

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/features/stability.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,17 @@ import { testEachModel } from "../env";
22
import { createModel } from "../utils";
33
import { makeTestSound } from "../make-test-sound";
44

5+
const times = 500;
6+
57
testEachModel(
6-
"speak 1000 times",
8+
`speak ${times} times`,
79
async ({ app, model: { modelJsonWithUrl, hitTests } }) => {
810
const model = await createModel(modelJsonWithUrl);
911
model.update(100);
1012
app.stage.addChild(model);
1113
app.renderer.resize(model.width, model.height);
1214
app.render();
13-
for (let i = 0; i < 1000; i++) {
15+
for (let i = 0; i < times; i++) {
1416
await new Promise<void>((resolve, reject) => {
1517
const duration = Math.random() * 0.01;
1618
model.speak(makeTestSound(undefined, 0.1, duration), {

0 commit comments

Comments
 (0)