Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nshmp-apps
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ghsc
National Seismic Hazard Model Project
nshmp-apps
Merge requests
!573
Something went wrong on our end
Navigation Service
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Navigation Service
ghsc/users/bclayton/nshmp/nshmp-apps:nav
into
main
Overview
0
Commits
6
Pipelines
0
Changes
3
Merged
Clayton, Brandon Scott
requested to merge
ghsc/users/bclayton/nshmp/nshmp-apps:nav
into
main
1 month ago
Overview
0
Commits
6
Pipelines
0
Changes
3
Expand
Switch to using a navigation service
If internal add internal apps in dropdown and dashboard
0
0
Merge request reports
Viewing commit
5717bf5b
Prev
Next
Show latest version
3 files
+
18
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
5717bf5b
add router
· 5717bf5b
Clayton, Brandon Scott
authored
1 month ago
projects/nshmp-apps/src/app/error-pages/404/404.component.spec.ts
+
6
−
1
Options
import
{
provideHttpClient
}
from
'
@angular/common/http
'
;
import
{
ComponentFixture
,
TestBed
}
from
'
@angular/core/testing
'
;
import
{
provideNoopAnimations
}
from
'
@angular/platform-browser/animations
'
;
import
{
provideRouter
}
from
'
@angular/router
'
;
@@ -11,7 +12,11 @@ describe('Error404Component', () => {
beforeEach
(
async
()
=>
{
await
TestBed
.
configureTestingModule
({
imports
:
[
Error404Component
],
providers
:
[
provideRouter
([]),
provideNoopAnimations
()],
providers
:
[
provideRouter
([]),
provideNoopAnimations
(),
provideHttpClient
(),
],
}).
compileComponents
();
});
Loading