Fineract backend settings with environment variables
This commit is contained in:
committed by
Arnold Gálovics
parent
1b72136411
commit
14ceb4f3fd
@@ -1,8 +1,19 @@
|
||||
import { TestBed, waitForAsync } from '@angular/core/testing';
|
||||
import { SettingsService } from 'app/settings/settings.service';
|
||||
import { DateFormatPipe } from './date-format.pipe';
|
||||
|
||||
describe('DateFormatPipe', () => {
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [ SettingsService ],
|
||||
declarations: [ DateFormatPipe ]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
it('create an instance', () => {
|
||||
const pipe = new DateFormatPipe();
|
||||
const pipe = new DateFormatPipe(new SettingsService());
|
||||
expect(pipe).toBeTruthy();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user