Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion scripts/__snapshots__/e2e-templates.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -359,15 +359,21 @@ exports[`Templates Angular InstantSearch File content: src/app/app.component.htm

exports[`Templates Angular InstantSearch File content: src/app/app.component.spec.ts 1`] = `
"import { TestBed, async } from '@angular/core/testing';
import { NgAisModule } from 'angular-instantsearch';
import { AppComponent } from './app.component';

describe('AppComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [
AppComponent
],
imports: [
NgAisModule.forRoot(),
],
}).compileComponents();
}));

it('should create the app', async(() => {
const fixture = TestBed.createComponent(AppComponent);
const app = fixture.debugElement.componentInstance;
Expand All @@ -378,7 +384,7 @@ describe('AppComponent', () => {

exports[`Templates Angular InstantSearch File content: src/app/app.component.ts 1`] = `
"import { Component } from '@angular/core';
import * as algoliasearch from \\"algoliasearch\\";
import * as algoliasearch from 'algoliasearch';

@Component({
selector: 'app-root',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
import { TestBed, async } from '@angular/core/testing';
import { NgAisModule } from 'angular-instantsearch';
import { AppComponent } from './app.component';

describe('AppComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [
AppComponent
],
imports: [
NgAisModule.forRoot(),
],
}).compileComponents();
}));

it('should create the app', async(() => {
const fixture = TestBed.createComponent(AppComponent);
const app = fixture.debugElement.componentInstance;
Expand Down