build: Modernise build process to produce hybrid cjs/mjs package #145
GitHub Actions / Test results
succeeded
Feb 14, 2024 in 0s
9 passed, 0 failed and 0 skipped
✔️ test-results.xml
9 tests were completed in 822ms with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
src/index.spec.ts | 2✔️ | 28ms | ||
src/pretty-console-format.spec.ts | 3✔️ | 14ms | ||
src/serialize-error.spec.ts | 4✔️ | 14ms |
✔️ src/index.spec.ts
src/index.spec.ts
✔️ logger > verbose logs are screened out when level is debug
✔️ logger > debug logs are not screened out when level is verbose
✔️ src/pretty-console-format.spec.ts
src/pretty-console-format.spec.ts
✔️ prettyConsoleFormat > can be invoked
✔️ prettyConsoleFormat > allows transform to be invoked
✔️ yamlify > serialises errors
✔️ src/serialize-error.spec.ts
src/serialize-error.spec.ts
✔️ serializeError > message and stack are not enumerable (and not serialized) by default
✔️ serializeError > can serialize error message and stack props
✔️ serializeError > can serialize a custom error
✔️ serializableErrorReplacer > can serialize a nested error
Loading