Skip to content

Commit d6009ab

Browse files
authored
Merge pull request #2525 from Akshat55/ngDestroyTest-fix
test: Remove redundant test
2 parents d28495c + 845892c commit d6009ab

File tree

2 files changed

+2
-31
lines changed

2 files changed

+2
-31
lines changed

src/tabs/tab-headers.component.spec.ts

Lines changed: 0 additions & 27 deletions
This file was deleted.

src/tabs/tabs.component.spec.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Component } from "@angular/core";
22
import { TestBed } from "@angular/core/testing";
33
import { By } from "@angular/platform-browser";
44
import { I18nModule } from "../i18n/index";
5-
import { UtilsModule } from "carbon-components-angular/utils";
5+
import { UtilsModule } from "../utils";
66
import { Tabs } from "./tabs.component";
77
import { CommonModule } from "@angular/common";
88
import { Tab } from "./tab.component";
@@ -23,7 +23,7 @@ class TabsTest {
2323
onSelected() {}
2424
}
2525

26-
describe("Sample", () => {
26+
describe("Tabs", () => {
2727
let fixture, wrapper, element;
2828

2929
const arrowRight = new KeyboardEvent("keydown", {
@@ -47,9 +47,7 @@ describe("Sample", () => {
4747
I18nModule
4848
]
4949
});
50-
});
5150

52-
beforeEach(() => {
5351
fixture = TestBed.createComponent(TabsTest);
5452
wrapper = fixture.componentInstance;
5553
element = fixture.debugElement.query(By.css("ibm-tabs"));

0 commit comments

Comments
 (0)