()
| 59 | it('removeBackend disposes the backend and removes the factory', () => { |
| 60 | let backend: KernelBackend; |
| 61 | const factory = () => { |
| 62 | const newBackend = new TestKernelBackend(); |
| 63 | if (backend == null) { |
| 64 | backend = newBackend; |
| 65 | spyOn(backend, 'dispose').and.callThrough(); |
| 66 | } |
| 67 | return newBackend; |
| 68 | }; |
| 69 | |
| 70 | registerBackend('test-backend', factory); |
| 71 |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…