Skip to content

Commit 3c93065

Browse files
authored
fix: failing test (#1281)
Fixes a few tests that were failing after the standalone switch.
1 parent eeab33b commit 3c93065

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

material.angular.io/src/app/shared/navigation-focus/navigation-focus.spec.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -128,14 +128,16 @@ describe('Navigation focus service', () => {
128128
<button id="target1">Target 1</button>
129129
<button id="target2">Target 2</button>
130130
<button class="no-id" focusOnNavigation>Target 3</button>
131-
`
131+
`,
132+
standalone: false,
132133
})
133134
class NavigationFocusTest {
134135
}
135136

136137
@Component({
137138
selector: 'route-test',
138139
template: '',
140+
standalone: false,
139141
})
140142
class RouteTest {
141143
}

0 commit comments

Comments
 (0)