Skip to content

Tests fail with Angularfire #14280

Closed
@chrste90

Description

@chrste90

🐞 Bug report

Command (mark with an x)

- [ ] new
- [ ] build
- [ ] serve
- [x] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Is this a regression?

Maybe

Description

When i run ng test i get Executed 0 of 0 ERROR

🔬 Minimal Reproduction

ng new TestApp --defaults
cd TestApp/
npm install --save @angular/fire firebase

Replace content of app.component.ts with

import { Component } from '@angular/core';
import { AngularFireAuth } from '@angular/fire/auth';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class AppComponent {
  title = 'TestApp';

  constructor(private afAuth: AngularFireAuth) {
  }
}

and run ng test

🔥 Exception or Error




Executed 0 of 0 ERROR 

🌍 Your Environment




Angular CLI: 8.0.0-rc.0
Node: 10.15.2
OS: darwin x64
Angular: 8.0.0-rc.0
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.800.0-rc.0
@angular-devkit/build-angular     0.800.0-rc.0
@angular-devkit/build-optimizer   0.800.0-rc.0
@angular-devkit/build-webpack     0.800.0-rc.0
@angular-devkit/core              8.0.0-rc.0
@angular-devkit/schematics        8.0.0-rc.0
@angular/fire                     5.1.2
@ngtools/webpack                  8.0.0-rc.0
@schematics/angular               8.0.0-rc.0
@schematics/update                0.800.0-rc.0
rxjs                              6.4.0
typescript                        3.4.5
webpack                           4.30.0

Anything else relevant?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions