From 998508f985463373dd3744005aba82fdb9d8b82f Mon Sep 17 00:00:00 2001 From: Christian Kaisermann Date: Sat, 7 Nov 2020 11:39:20 -0300 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20add=20full-icu=20to=20f?= =?UTF-8?q?ix=20intl=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 7 ++++--- yarn.lock | 14 +++++++++++++- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 065e9cf..ac82a79 100644 --- a/package.json +++ b/package.json @@ -26,9 +26,8 @@ "build": "rollup -c", "build:types": "tsc -p src/runtime --emitDeclarationOnly", "dev": "rollup -c -w", - "test": "jest", - "test:ci": "jest --silent", - "test:watch": "jest --verbose --watchAll", + "test": "cross-env NODE_ICU_DATA=node_modules/full-icu jest", + "test:ci": "npm run test -- --silent", "lint": "eslint \"{src,test}/**/*.ts\"", "format": "prettier --loglevel silent --write \"{src,test}/**/*.ts\"", "release": " git add package.json && git commit -m \"chore(release): v$npm_package_version :tada:\"", @@ -83,7 +82,9 @@ "babel-core": "^7.0.0-bridge.0", "babel-jest": "^26.3.0", "conventional-changelog-cli": "^2.1.0", + "cross-env": "^7.0.2", "eslint": "^7.9.0", + "full-icu": "^1.3.1", "husky": "^4.3.0", "jest": "^26.4.2", "lint-staged": "^10.4.0", diff --git a/yarn.lock b/yarn.lock index 0131266..f5ac3ba 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2221,6 +2221,13 @@ cosmiconfig@^7.0.0: path-type "^4.0.0" yaml "^1.10.0" +cross-env@^7.0.2: + version "7.0.2" + resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-7.0.2.tgz#bd5ed31339a93a3418ac4f3ca9ca3403082ae5f9" + integrity sha512-KZP/bMEOJEDCkDQAyRhu3RL2ZO/SUVrxQVI0G3YEQ+OLbRA3c6zgixe8Mq8a/z7+HKlNEjo8oiLUs8iRijY2Rw== + dependencies: + cross-spawn "^7.0.1" + cross-spawn@^6.0.0: version "6.0.5" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" @@ -2232,7 +2239,7 @@ cross-spawn@^6.0.0: shebang-command "^1.2.0" which "^1.2.9" -cross-spawn@^7.0.0, cross-spawn@^7.0.2: +cross-spawn@^7.0.0, cross-spawn@^7.0.1, cross-spawn@^7.0.2: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== @@ -3008,6 +3015,11 @@ fsevents@~2.1.2: resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.1.3.tgz#fb738703ae8d2f9fe900c33836ddebee8b97f23e" integrity sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ== +full-icu@^1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/full-icu/-/full-icu-1.3.1.tgz#e67fdf58523f1d1e0d9143b1542fe2024c1c8997" + integrity sha512-VMtK//85QJomhk3cXOCksNwOYaw1KWnYTS37GYGgyf7A3ajdBoPGhaJuJWAH2S2kq8GZeXkdKn+3Mfmgy11cVw== + function-bind@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"