更名,删除测试文件

This commit is contained in:
小海
2020-05-15 19:24:59 +08:00
parent 6a4775f503
commit eb7b3f6022
7 changed files with 2 additions and 86 deletions

View File

@@ -1,16 +0,0 @@
import { TestBed } from '@angular/core/testing';
import { ComponentStateService } from './component-state.service';
describe('CompentStateService', () => {
let service: ComponentStateService;
beforeEach(() => {
TestBed.configureTestingModule({});
service = TestBed.inject(ComponentStateService);
});
it('should be created', () => {
expect(service).toBeTruthy();
});
});

View File

@@ -8,7 +8,7 @@ import {LocalStorageService} from './local-storage.service';
@Injectable({
providedIn: 'root'
})
export class UserService {
export class GlobalUserService {
constructor(private apiService: ApiService,
private localStorageService: LocalStorageService) {

View File

@@ -1,12 +0,0 @@
import { TestBed } from '@angular/core/testing';
import { LocalStorageService } from './local-storage.service';
describe('LocalStorageService', () => {
beforeEach(() => TestBed.configureTestingModule({}));
it('should be created', () => {
const service: LocalStorageService = TestBed.get(LocalStorageService);
expect(service).toBeTruthy();
});
});

View File

@@ -1,16 +0,0 @@
import { TestBed } from '@angular/core/testing';
import { UserService } from './user.service';
describe('UserService', () => {
let service: UserService;
beforeEach(() => {
TestBed.configureTestingModule({});
service = TestBed.inject(UserService);
});
it('should be created', () => {
expect(service).toBeTruthy();
});
});