Parcourir la source

Tests: fix error message check on undefined variable

Jeremy Tuloup il y a 4 ans
Parent
commit
6341b7047f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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();
     });
   });
 });