offer class, offer service
parent
1c9a8f4543
commit
a80de2b6b9
@ -0,0 +1,3 @@
|
||||
<p>
|
||||
offer works!
|
||||
</p>
|
@ -0,0 +1,24 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
import { IonicModule } from '@ionic/angular';
|
||||
|
||||
import { OfferComponent } from './offer.component';
|
||||
|
||||
describe('OfferComponent', () => {
|
||||
let component: OfferComponent;
|
||||
let fixture: ComponentFixture<OfferComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ OfferComponent ],
|
||||
imports: [IonicModule.forRoot()]
|
||||
}).compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(OfferComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
}));
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
@ -0,0 +1,14 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-offer',
|
||||
templateUrl: './offer.component.html',
|
||||
styleUrls: ['./offer.component.scss'],
|
||||
})
|
||||
export class OfferComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {}
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
import { TestBed } from '@angular/core/testing';
|
||||
|
||||
import { OffersService } from './offers.service';
|
||||
|
||||
describe('OffersService', () => {
|
||||
let service: OffersService;
|
||||
|
||||
beforeEach(() => {
|
||||
TestBed.configureTestingModule({});
|
||||
service = TestBed.inject(OffersService);
|
||||
});
|
||||
|
||||
it('should be created', () => {
|
||||
expect(service).toBeTruthy();
|
||||
});
|
||||
});
|
@ -0,0 +1,9 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
})
|
||||
export class OffersService {
|
||||
|
||||
constructor() { }
|
||||
}
|
Loading…
Reference in New Issue