Skip to content

Commit 07d2a2c

Browse files
committed
removed suspicious test to verify the behavior of the build pipeline
1 parent 4fc1532 commit 07d2a2c

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

client/src/app/api/api/socket.service.spec.ts

+1-10
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import {TestBed} from '@angular/core/testing';
2020

2121
import {SocketService} from './socket.service';
22+
import { doesNotReject } from 'assert';
2223

2324
describe('SocketService', () => {
2425
let socketService: SocketService;
@@ -49,14 +50,4 @@ describe('SocketService', () => {
4950
expect(socketService).toBeTruthy();
5051
});
5152

52-
53-
it('should return correct data on subscribe', () => {
54-
console.log('new test');
55-
socketService = TestBed.get(SocketService);
56-
console.log('socket service', socketService);
57-
// need to check the result based on some mock object to simulate the connection to the webserver
58-
socketService.initSocket().then(() => {
59-
console.log('fake socket open');
60-
});
61-
});
6253
});

0 commit comments

Comments
 (0)