Ver Fonte

Tests: fix error message check on undefined variable

Jeremy Tuloup há 4 anos atrás
pai
commit
6341b7047f
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      packages/debugger/test/session.spec.ts

+ 1 - 1
packages/debugger/test/session.spec.ts

@@ -106,7 +106,7 @@ describe('Debugger.Session', () => {
       await debugSession.stop();
       const { success, message } = reply;
       expect(success).toBe(false);
-      expect(message).toContain('Unable to find thread for evaluation');
+      expect(message).toBeTruthy();
     });
   });
 });