浏览代码

Missed an async.

Ian Rose 6 年之前
父节点
当前提交
e7953f3166
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/test-console/src/panel.spec.ts

+ 1 - 1
tests/test-console/src/panel.spec.ts

@@ -87,7 +87,7 @@ describe('console/panel', () => {
     });
     });
 
 
     describe('#onAfterAttach()', () => {
     describe('#onAfterAttach()', () => {
-      it('should start the session', () => {
+      it('should start the session', async () => {
         Widget.attach(panel, document.body);
         Widget.attach(panel, document.body);
         await dismissDialog();
         await dismissDialog();
         return panel.session.ready;
         return panel.session.ready;