Ver Fonte

Skip pagination test as there is no front end for it yet anyway, fix broken service test

Afshin T. Darian há 4 anos atrás
pai
commit
635694a58c

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

@@ -136,7 +136,7 @@ describe('DebuggerService', () => {
 
     it('should throw an error if the session is not set', async () => {
       await expect(async () => await service.start()).rejects.toThrow(
-        "Cannot read property 'start' of null"
+        'No active debugger session'
       );
     });
   });

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

@@ -262,7 +262,7 @@ describe('protocol', () => {
   });
 
   describe('#variablesPagination', () => {
-    it('should return the amount of variables requested', async () => {
+    it.skip('should return the amount of variables requested', async () => {
       await debugSession.sendRequest('continue', { threadId });
       const variables = await getVariables(1, 1);
       const integers = variables.filter(variable => variable.type === 'int');