소스 검색

Fix integration server

Popov72 4 년 전
부모
커밋
b4393c6248
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      tests/validation/integration.js

+ 2 - 1
tests/validation/integration.js

@@ -23,7 +23,8 @@ xhr.addEventListener("load", function () {
                     .require('/tests/validation/validation.js')
                     .testMode()
                     .useDist()
-                    .load(function () {
+                    .load(async function () {
+                        await init();
                         var info = engine.getGlInfo();
                         console.log("Webgl Version: " + info.version);
                         console.log("Webgl Vendor: " + info.vendor);