Selaa lähdekoodia

Tests: fix error message check on undefined variable

Jeremy Tuloup 4 vuotta sitten
vanhempi
commit
6341b7047f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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();
     });
   });
 });