This repository was archived by the owner on Dec 16, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
src/templates/Angular InstantSearch/src/app Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -359,15 +359,21 @@ exports[`Templates Angular InstantSearch File content: src/app/app.component.htm
359359
360360exports[`Templates Angular InstantSearch File content: src/app/app.component.spec.ts 1`] = `
361361" import { TestBed, async } from '@angular/core/testing';
362+ import { NgAisModule } from 'angular-instantsearch';
362363import { AppComponent } from './app.component';
364+
363365describe('AppComponent', () => {
364366 beforeEach(async(() => {
365367 TestBed.configureTestingModule({
366368 declarations: [
367369 AppComponent
368370 ],
371+ imports: [
372+ NgAisModule.forRoot(),
373+ ],
369374 }).compileComponents();
370375 }));
376+
371377 it('should create the app', async(() => {
372378 const fixture = TestBed.createComponent(AppComponent);
373379 const app = fixture.debugElement.componentInstance;
@@ -378,7 +384,7 @@ describe('AppComponent', () => {
378384
379385exports[`Templates Angular InstantSearch File content: src/app/app.component.ts 1`] = `
380386" import { Component } from '@angular/core';
381- import * as algoliasearch from \\ " algoliasearch\\" ;
387+ import * as algoliasearch from ' algoliasearch' ;
382388
383389@Component({
384390 selector: 'app-root',
Original file line number Diff line number Diff line change 11import { TestBed , async } from '@angular/core/testing' ;
2+ import { NgAisModule } from 'angular-instantsearch' ;
23import { AppComponent } from './app.component' ;
4+
35describe ( 'AppComponent' , ( ) => {
46 beforeEach ( async ( ( ) => {
57 TestBed . configureTestingModule ( {
68 declarations : [
79 AppComponent
810 ] ,
11+ imports : [
12+ NgAisModule . forRoot ( ) ,
13+ ] ,
914 } ) . compileComponents ( ) ;
1015 } ) ) ;
16+
1117 it ( 'should create the app' , async ( ( ) => {
1218 const fixture = TestBed . createComponent ( AppComponent ) ;
1319 const app = fixture . debugElement . componentInstance ;
You can’t perform that action at this time.
0 commit comments