Skip to content

Commit

Permalink
format sleep
Browse files Browse the repository at this point in the history
Co-authored-by: Vishniakov Nikolai <[email protected]>
  • Loading branch information
hub-bla and vishniakov-nikolai authored Nov 18, 2024
1 parent 8d302e6 commit 5773d06
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bindings/js/node/tests/unit/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,11 @@ function compareModels(model1, model2) {
throw new Error(differences.join('\n'));
}
}

function sleep(ms) {
return new Promise((resolve) => setTimeout(resolve, ms));
}

function getModelPath(isFP16 = false) {
const modelName = `test_model_fp${isFP16 ? 16 : 32}`;

Expand Down

0 comments on commit 5773d06

Please sign in to comment.