@plugjs/expect5 0.4.14 → 0.4.16

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.
Files changed (61) hide show
  1. package/dist/cli.mjs +1 -1
  2. package/dist/execution/executable.cjs +2 -2
  3. package/dist/execution/executable.cjs.map +1 -1
  4. package/dist/execution/executable.mjs +2 -2
  5. package/dist/execution/executable.mjs.map +1 -1
  6. package/dist/execution/executor.cjs.map +1 -1
  7. package/dist/execution/executor.mjs.map +1 -1
  8. package/dist/execution/setup.cjs.map +1 -1
  9. package/dist/execution/setup.d.ts +1 -1
  10. package/dist/execution/setup.mjs.map +1 -1
  11. package/dist/expectation/async.cjs.map +1 -1
  12. package/dist/expectation/async.d.ts +3 -2
  13. package/dist/expectation/async.mjs +1 -3
  14. package/dist/expectation/async.mjs.map +1 -1
  15. package/dist/expectation/diff.cjs.map +1 -1
  16. package/dist/expectation/diff.mjs.map +1 -1
  17. package/dist/expectation/expectations.cjs +3 -4
  18. package/dist/expectation/expectations.cjs.map +1 -1
  19. package/dist/expectation/expectations.d.ts +3 -3
  20. package/dist/expectation/expectations.mjs +3 -4
  21. package/dist/expectation/expectations.mjs.map +1 -1
  22. package/dist/expectation/include.cjs +0 -1
  23. package/dist/expectation/include.cjs.map +1 -1
  24. package/dist/expectation/include.d.ts +1 -1
  25. package/dist/expectation/include.mjs +0 -1
  26. package/dist/expectation/include.mjs.map +1 -1
  27. package/dist/expectation/matchers.cjs +2 -2
  28. package/dist/expectation/matchers.cjs.map +1 -1
  29. package/dist/expectation/matchers.d.ts +3 -2
  30. package/dist/expectation/matchers.mjs +4 -8
  31. package/dist/expectation/matchers.mjs.map +1 -1
  32. package/dist/expectation/print.cjs +0 -1
  33. package/dist/expectation/print.cjs.map +1 -1
  34. package/dist/expectation/print.d.ts +2 -2
  35. package/dist/expectation/print.mjs +0 -1
  36. package/dist/expectation/print.mjs.map +1 -1
  37. package/dist/expectation/types.cjs +0 -3
  38. package/dist/expectation/types.cjs.map +1 -1
  39. package/dist/expectation/types.d.ts +3 -3
  40. package/dist/expectation/types.mjs +0 -3
  41. package/dist/expectation/types.mjs.map +1 -1
  42. package/dist/index.cjs.map +1 -1
  43. package/dist/index.d.ts +1 -1
  44. package/dist/index.mjs.map +1 -1
  45. package/dist/test.cjs +0 -3
  46. package/dist/test.cjs.map +1 -1
  47. package/dist/test.d.ts +2 -2
  48. package/dist/test.mjs +0 -3
  49. package/dist/test.mjs.map +1 -1
  50. package/package.json +2 -2
  51. package/src/execution/executor.ts +3 -1
  52. package/src/execution/setup.ts +3 -1
  53. package/src/expectation/async.ts +9 -8
  54. package/src/expectation/diff.ts +2 -1
  55. package/src/expectation/expectations.ts +9 -5
  56. package/src/expectation/include.ts +4 -2
  57. package/src/expectation/matchers.ts +13 -13
  58. package/src/expectation/print.ts +10 -8
  59. package/src/expectation/types.ts +3 -3
  60. package/src/index.ts +3 -1
  61. package/src/test.ts +5 -4
package/src/test.ts CHANGED
@@ -6,9 +6,7 @@ import { AssertionError } from 'node:assert'
6
6
  import { BuildFailure } from '@plugjs/plug'
7
7
  import { assert } from '@plugjs/plug/asserts'
8
8
  import { dirnameFromUrl, filenameFromUrl } from '@plugjs/plug/paths'
9
- import { type Files } from '@plugjs/plug/files'
10
- import { $blu, $grn, $gry, $ms, $red, $wht, $ylw, ERROR, NOTICE, WARN, log, type Logger, $p, githubAnnotation } from '@plugjs/plug/logging'
11
- import { type Context, type PipeParameters, type Plug } from '@plugjs/plug/pipe'
9
+ import { $blu, $grn, $gry, $ms, $red, $wht, $ylw, ERROR, NOTICE, WARN, log, $p, githubAnnotation } from '@plugjs/plug/logging'
12
10
 
13
11
  import * as setup from './execution/setup'
14
12
  import { Suite, skip } from './execution/executable'
@@ -18,7 +16,10 @@ import { expect } from './expectation/expect'
18
16
  import { printDiff } from './expectation/print'
19
17
  import { ExpectationError, stringifyValue } from './expectation/types'
20
18
 
21
- import { type TestOptions } from './index'
19
+ import type { TestOptions } from './index'
20
+ import type { Context, PipeParameters, Plug } from '@plugjs/plug/pipe'
21
+ import type { Files } from '@plugjs/plug/files'
22
+ import type { Logger } from '@plugjs/plug/logging'
22
23
 
23
24
  const _pending = '\u22EF' // middle ellipsis
24
25
  const _success = '\u2714' // heavy check mark