Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit 9c6107c

Browse files
committed
Fix //src/hello-world/test karma test
1 parent d5d150e commit 9c6107c

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ filegroup(
2828
"@ngrx",
2929
"@types",
3030
"protractor",
31+
"reflect-metadata",
3132
"tsickle",
3233
"tslib",
3334
"tsutils",

src/hello-world/BUILD.bazel

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ ts_library(
4444
ts_web_test_suite(
4545
name = "test",
4646
srcs = ["//:node_modules/tslib/tslib.js"],
47-
bootstrap = ["//:node_modules/zone.js/dist/zone-testing-bundle.js"],
47+
bootstrap = [
48+
"//:node_modules/zone.js/dist/zone-testing-bundle.js",
49+
"//:node_modules/reflect-metadata/Reflect.js"
50+
],
4851
browsers = [
4952
"@io_bazel_rules_webtesting//browsers:chromium-local",
5053
"@io_bazel_rules_webtesting//browsers:firefox-local",

src/hello-world/hello-world.component.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import {DebugElement} from '@angular/core';
21
import {async, ComponentFixture, TestBed} from '@angular/core/testing';
32
import {By} from '@angular/platform-browser';
43
import {BrowserDynamicTestingModule, platformBrowserDynamicTesting} from '@angular/platform-browser-dynamic/testing';

0 commit comments

Comments
 (0)