Skip to content

Commit

Permalink
chore: add snapshots field
Browse files Browse the repository at this point in the history
  • Loading branch information
longlho committed Jun 6, 2023
1 parent 6da3c9d commit 04ea9ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/eslint-plugin-formatjs/BUILD
Expand Up @@ -60,7 +60,6 @@ TEST_FILES = glob([

jest_test(
name = "unit_test",
size = "medium",
data = TESTS_BASE_SRCS + TEST_FILES + SRC_DEPS + [
"//:node_modules/@typescript-eslint/parser",
"//:node_modules/vue-eslint-parser",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-intl/BUILD
Expand Up @@ -40,8 +40,7 @@ SRC_DEPS = [

TESTS = glob([
"tests/unit/**/*.ts*",
"tests/unit/**/*.snap",
])
],exclude=["tests/unit/components/__snapshots__/*"])

TEST_DEPS = SRC_DEPS + [
":node_modules/@formatjs/intl-numberformat",
Expand Down Expand Up @@ -88,6 +87,7 @@ jest_test(
name = "unit_test",
data = SRCS + TESTS + TEST_DEPS + ["tests/setup.js"],
jest_config = "jest.config.js",
snapshots = glob(["tests/unit/components/__snapshots__/*"]),
)

jest_test(
Expand Down

0 comments on commit 04ea9ed

Please sign in to comment.