Explorar o código

Tests: fix error message check on undefined variable

Jeremy Tuloup %!s(int64=4) %!d(string=hai) anos
pai
achega
6341b7047f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();
     });
   });
 });