declapract-typescript-ehmpathy 0.47.63 → 0.47.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -244,7 +244,7 @@ jobs:
244
244
  if: always() && hashFiles('jest-results.json') != ''
245
245
  run: |
246
246
  set -eu
247
- jq -r '.testResults[] | "\(.name):\(.perfStats.runtime)"' jest-results.json | while IFS=: read -r name runtime; do
247
+ jq -r '.testResults[] | select(.perfStats.runtime != null) | "\(.name):\(.perfStats.runtime)"' jest-results.json | while IFS=: read -r name runtime; do
248
248
  seconds=$((runtime / 1000))
249
249
  if [[ $seconds -ge 30 ]]; then
250
250
  echo "::warning file=${name}::slow test: ${seconds}s"
@@ -318,7 +318,7 @@ jobs:
318
318
  if: always() && hashFiles('jest-results.json') != ''
319
319
  run: |
320
320
  set -eu
321
- jq -r '.testResults[] | "\(.name):\(.perfStats.runtime)"' jest-results.json | while IFS=: read -r name runtime; do
321
+ jq -r '.testResults[] | select(.perfStats.runtime != null) | "\(.name):\(.perfStats.runtime)"' jest-results.json | while IFS=: read -r name runtime; do
322
322
  seconds=$((runtime / 1000))
323
323
  if [[ $seconds -ge 30 ]]; then
324
324
  echo "::warning file=${name}::slow test: ${seconds}s"
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "declapract-typescript-ehmpathy",
3
3
  "author": "ehmpathy",
4
4
  "description": "declapract best practices declarations for typescript",
5
- "version": "0.47.63",
5
+ "version": "0.47.64",
6
6
  "license": "MIT",
7
7
  "main": "src/index.js",
8
8
  "repository": "ehmpathy/declapract-typescript-ehmpathy",