mirror of
https://github.com/hanzoai/jest.git
synced 2026-09-24 16:59:57 +00:00
19 lines
450 B
TypeScript
19 lines
450 B
TypeScript
import {TestBed} from '@angular/core/testing';
|
|
import {beforeEach, describe, expect, it} from '@jest/globals';
|
|
import {SubService} from './sub.service';
|
|
|
|
describe('Service: SubService', () => {
|
|
let service: SubService;
|
|
|
|
beforeEach(() => {
|
|
TestBed.configureTestingModule({
|
|
providers: [SubService],
|
|
});
|
|
service = TestBed.inject(SubService);
|
|
});
|
|
|
|
it('should create service', () => {
|
|
expect(service).toBeTruthy();
|
|
});
|
|
});
|