Skip to content

Commit 1694f75

Browse files
committed
fix(tests): fixed root tests
1 parent f8e895e commit 1694f75

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"start:test": "ng serve --configuration test-osf",
2222
"start:docker": "ng serve --host 0.0.0.0 --port 4200 --poll 2000",
2323
"start:docker:local": "ng serve --host 0.0.0.0 --port 4200 --poll 2000 --configuration local",
24-
"test": "jest && npm run test:display",
24+
"test": "jest",
2525
"test:watch": "jest --watch",
2626
"test:coverage": "jest --coverage && npm run test:display",
2727
"test:check-coverage-thresholds": "node .github/scripts/check-coverage-thresholds.js",

src/app/core/components/root/root.component.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import { HeaderComponent } from '@core/components/header/header.component';
1313
import { TopnavComponent } from '@core/components/topnav/topnav.component';
1414
import { IS_WEB, IS_XSMALL } from '@osf/shared/helpers';
1515

16+
import { MaintenanceBannerComponent } from '../maintenance-banner/maintenance-banner.component';
1617
import { SidenavComponent } from '../sidenav/sidenav.component';
1718

1819
import { RootComponent } from './root.component';
@@ -36,7 +37,8 @@ describe('RootComponent', () => {
3637
TopnavComponent,
3738
ConfirmDialog,
3839
BreadcrumbComponent,
39-
SidenavComponent
40+
SidenavComponent,
41+
MaintenanceBannerComponent
4042
),
4143
],
4244
providers: [

0 commit comments

Comments
 (0)