dnet45/modules/uoa-repository-dashboard-gui/trunk/src/app/shared/api.service.spec.ts @ 46812
1 |
import { inject, TestBed } from '@angular/core/testing'; |
---|---|
2 |
|
3 |
import { ApiService } from './api.service'; |
4 |
|
5 |
describe('Api Service', () => { |
6 |
beforeEach(() => { |
7 |
TestBed.configureTestingModule({providers: [ApiService]}); |
8 |
});
|
9 |
|
10 |
it('should ...', inject([ApiService], (api) => { |
11 |
expect(api.title).toBe('Angular 2'); |
12 |
}));
|
13 |
});
|