Skip to content

Commit 1ef5602

Browse files
committed
Exclude web unit testing on gen_defaults
1 parent 467afa4 commit 1ef5602

4 files changed

Lines changed: 13 additions & 5 deletions

File tree

‎.ci/targets/web_dart_unit_tests.yaml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ tasks:
77
args: [
88
"dart-test",
99
"--platform=chrome",
10-
"--exclude=script/configs/dart_unit_tests_exceptions.yaml"
10+
"--exclude=script/configs/dart_unit_tests_exceptions.yaml",
11+
"--exclude=script/configs/exclude_unit_tests_web.yaml"
1112
]

‎.ci/targets/web_dart_unit_tests_wasm.yaml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ tasks:
99
"--platform=chrome",
1010
"--wasm",
1111
"--exclude=script/configs/dart_unit_tests_exceptions.yaml",
12-
"--exclude=script/configs/dart_unit_tests_wasm_exceptions.yaml"
12+
"--exclude=script/configs/dart_unit_tests_wasm_exceptions.yaml",
13+
"--exclude=script/configs/exclude_unit_tests_web.yaml"
1314
]

‎packages/material_ui/tool/gen_defaults/test/gen_defaults_test.dart‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
@TestOn('!chrome')
6-
library;
7-
85
import 'dart:io';
96

107
import 'package:test/test.dart';
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Packages that are excluded from web unit tests (compiled to JS/Wasm).
2+
#
3+
# Each excluded package should have a comment for why it is excluded.
4+
#
5+
# If trying to exclude a test that works in JS mode but fails in Wasm, use the
6+
# dart_unit_tests_wasm_exceptions.yaml file instead.
7+
8+
# CLI-tool for material_ui developers to generate Material tokens.
9+
material_ui/tool/gen_defaults

0 commit comments

Comments
 (0)