Skip to content

Commit fe85c4d

Browse files
committed
refactor: lint and tests
1 parent d96a0ef commit fe85c4d

File tree

4 files changed

+4
-278
lines changed

4 files changed

+4
-278
lines changed

src/material/core/theming/_theming.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
@use 'sass:meta';
55
@use 'sass:color';
66

7+
// Deprecated flag that is no longer used to control duplication warnings.
8+
// Remove in v22
9+
$theme-ignore-duplication-warnings: false;
10+
711
// Whether to enable compatibility with legacy methods for accessing theme information.
812
$theme-legacy-inspection-api-compatibility: true !default;
913

src/material/core/theming/tests/test-theming-api.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
@use '../theming';
1010
@use 'sass:map';
1111

12-
// Disable theme style duplication warnings. This test intentionally generates
13-
// the same themes multiple times.
14-
theming.$theme-ignore-duplication-warnings: true;
15-
1612
// A new way to configure themes has been introduced. This Sass file ensures that the theming
1713
// API is backwards compatible, so that the old pattern for configuring themes can be still
1814
// used. The Sass compilation of this file will fail if one of the tests/assertions fails.

src/material/core/theming/tests/test-theming-bundle.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
// with the include paths being set to the `bazel-bin` directory.
44
@use '../../../index' as mat;
55

6-
// Disable theme style duplication warnings. This test intentionally generates
7-
// the same themes multiple times.
8-
mat.$theme-ignore-duplication-warnings: true;
9-
106
// If one of these mixins or function is not available, the compilation will fail and the
117
// test will be reported as failing.
128

src/material/core/theming/tests/theming-mixin-api.spec.ts

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

0 commit comments

Comments
 (0)