@jsenv/core 30.4.2 → 31.0.1

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.
@@ -4,7 +4,7 @@ export const EXECUTION_COLORS = {
4
4
  executing: ANSI.BLUE,
5
5
  aborted: ANSI.MAGENTA,
6
6
  timedout: ANSI.MAGENTA,
7
- errored: ANSI.RED,
7
+ failed: ANSI.RED,
8
8
  completed: ANSI.GREEN,
9
9
  cancelled: ANSI.GREY,
10
10
  }
@@ -147,8 +147,8 @@ const createStatusSummary = ({ counters }) => {
147
147
  if (counters.timedout === counters.total) {
148
148
  return `all ${ANSI.color(`timed out`, EXECUTION_COLORS.timedout)}`
149
149
  }
150
- if (counters.errored === counters.total) {
151
- return `all ${ANSI.color(`errored`, EXECUTION_COLORS.errored)}`
150
+ if (counters.failed === counters.total) {
151
+ return `all ${ANSI.color(`failed`, EXECUTION_COLORS.failed)}`
152
152
  }
153
153
  if (counters.completed === counters.total) {
154
154
  return `all ${ANSI.color(`completed`, EXECUTION_COLORS.completed)}`
@@ -171,9 +171,9 @@ const createMixedDetails = ({ counters }) => {
171
171
  )}`,
172
172
  )
173
173
  }
174
- if (counters.errored) {
174
+ if (counters.failed) {
175
175
  parts.push(
176
- `${counters.errored} ${ANSI.color(`errored`, EXECUTION_COLORS.errored)}`,
176
+ `${counters.failed} ${ANSI.color(`failed`, EXECUTION_COLORS.failed)}`,
177
177
  )
178
178
  }
179
179
  if (counters.completed) {
@@ -221,10 +221,10 @@ const descriptionFormatters = {
221
221
  EXECUTION_COLORS.timedout,
222
222
  )
223
223
  },
224
- errored: ({ index, total }) => {
224
+ efailedrrored: ({ index, total }) => {
225
225
  return ANSI.color(
226
- `${UNICODE.FAILURE_RAW} execution ${index + 1} of ${total} errored`,
227
- EXECUTION_COLORS.errored,
226
+ `${UNICODE.FAILURE_RAW} execution ${index + 1} of ${total} failed`,
227
+ EXECUTION_COLORS.failed,
228
228
  )
229
229
  },
230
230
  completed: ({ index, total }) => {