Skip to content

Instantly share code, notes, and snippets.

@topnotch48
Last active April 22, 2018 14:27
Show Gist options
  • Save topnotch48/5a3fe27871df55f520904ce6d4d71d72 to your computer and use it in GitHub Desktop.
Save topnotch48/5a3fe27871df55f520904ce6d4d71d72 to your computer and use it in GitHub Desktop.
describe('#productions Production wizard bates settings', () => {
beforeEach(done => (async () => {
TestBed.configureTestingModule({
imports: modules,
providers: [defaultGlobalProvidersForTests]
});
TestBed.overrideModule(ProductionsModule, overrides);
await TestBed.compileComponents();
})().then(done).catch(done.fail));
describe('number component ', () => {
let ctx: TestCtx<BatesNumberHostComponent>;
let page: BatesNumberPage;
beforeEach(async(async () => {
ctx = await TestBedHelper.createContext(BatesNumberHostComponent);
page = new BatesNumberPage(ctx.fixture);
}));
// actual tests go below
....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment