mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
fix
This commit is contained in:
@@ -8,7 +8,7 @@ export class FileLoaderService {
|
||||
constructor() { }
|
||||
|
||||
|
||||
loadeFile({ type = 'file'}): HTMLInputElement {
|
||||
createInput({ type = 'file'}): HTMLInputElement {
|
||||
|
||||
let input = document.createElement('input');
|
||||
input.type = type;
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
import { TestBed } from '@angular/core/testing';
|
||||
|
||||
import { PublicationService } from './publication.service';
|
||||
|
||||
describe('PublicationService', () => {
|
||||
let service: PublicationService;
|
||||
|
||||
beforeEach(() => {
|
||||
TestBed.configureTestingModule({});
|
||||
service = TestBed.inject(PublicationService);
|
||||
});
|
||||
|
||||
it('should be created', () => {
|
||||
expect(service).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,9 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
})
|
||||
export class PublicationService {
|
||||
|
||||
constructor() { }
|
||||
}
|
||||
Reference in New Issue
Block a user