Skip to content

Commit b8e1f08

Browse files
committed
refactor: remove unused warning test function
1 parent 96973c8 commit b8e1f08

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/material/core/theming/tests/m3-theme.spec.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@ function intersection<T>(set: Set<T>, ...sets: Set<T>[]): Set<T> {
3939
return new Set([...set].filter(i => sets.every(s => s.has(i))));
4040
}
4141

42-
/** Expects the given warning to be reported in Sass. */
43-
function expectWarning(message: RegExp) {
44-
expect(getMatchingWarning(message)).withContext('Expected warning to be printed.').toBeDefined();
45-
}
46-
4742
/** Expects the given warning not to be reported in Sass. */
4843
function expectNoWarning(message: RegExp) {
4944
expect(getMatchingWarning(message))

0 commit comments

Comments
 (0)