Merged
Conversation
Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #3 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 6 6
Lines 671 671
Branches 13 13
=========================================
Hits 671 671
Continue to review full report at Codecov.
|
|
This pull request has been automatically locked since there has not been any recent |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
1.0.1CHANGELOGentry for1.0.1Tests
yarn testRUN v0.26.2 Coverage enabled with c8 ✓ src/__tests__/create-node-error.spec.ts > unit:createNodeError > should return NodeErrorConstructor ✓ src/__tests__/create-node-error.spec.ts > unit:createNodeError > NodeError > should return NodeError instance ✓ src/__tests__/determine-specific-type.spec.ts > unit:determineSpecificType > should detect bigint ✓ src/__tests__/determine-specific-type.spec.ts > unit:determineSpecificType > should detect boolean ✓ src/__tests__/determine-specific-type.spec.ts > unit:determineSpecificType > should detect function ✓ src/__tests__/determine-specific-type.spec.ts > unit:determineSpecificType > should detect instance object ✓ src/__tests__/determine-specific-type.spec.ts > unit:determineSpecificType > should detect null ✓ src/__tests__/determine-specific-type.spec.ts > unit:determineSpecificType > should detect number ✓ src/__tests__/determine-specific-type.spec.ts > unit:determineSpecificType > should detect string ✓ src/__tests__/determine-specific-type.spec.ts > unit:determineSpecificType > should detect symbol ✓ src/__tests__/determine-specific-type.spec.ts > unit:determineSpecificType > should detect undefined ✓ src/enums/__tests__/error-code.spec-d.ts > unit-d:enums/ErrorCode > should have members of type Uppercase<string> ✓ src/internal/__tests__/format-message.spec.ts > unit:internal/formatMessage > should return formatted messsage if msg is MessageFn ✓ src/internal/__tests__/format-message.spec.ts > unit:internal/formatMessage > should return formatted messsage if msg is string ✓ src/internal/__tests__/format-message.spec.ts > unit:internal/formatMessage > should throw if args length is invalid ✓ src/internal/__tests__/k-is-node-error.spec.ts > unit:internal/kIsNodeError > should have description "kIsNodeError" ✓ src/internal/__tests__/prepare-stack-trace.spec.ts > unit:internal/prepareStackTrace > should return error with new stack trace ✓ src/types/__tests__/fn-message.spec-d.ts > unit-d:types/MessageFn > should extract parameters from type parameter ✓ src/types/__tests__/fn-message.spec-d.ts > unit-d:types/MessageFn > should return string ✓ src/types/__tests__/node-error-constructor.spec-d.ts > unit-d:types/NodeErrorConstructor > should extract parameters of type any[] if M extends string ✓ src/types/__tests__/node-error-constructor.spec-d.ts > unit-d:types/NodeErrorConstructor > should extract parameters of type Parameters<M> if M extends MessageFn ✓ src/types/__tests__/node-error-constructor.spec-d.ts > unit-d:types/NodeErrorConstructor > should match [prototype: NodeError<T>] ✓ src/types/__tests__/node-error-constructor.spec-d.ts > unit-d:types/NodeErrorConstructor > should return NodeError<T> ✓ src/types/__tests__/node-error.spec-d.ts > unit-d:types/NodeError > should have type param extend Error type ✓ src/types/__tests__/node-error.spec-d.ts > unit-d:types/NodeError > should match [code: ErrorCode] Test Files 9 passed (9) Tests 25 passed (25) Start at 20:16:39 Duration 2.77s (transform 776ms, setup 4.56s, collect 630ms, tests 385ms) % Coverage report from c8 -----------------------------|---------|----------|---------|---------|------------------- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s -----------------------------|---------|----------|---------|---------|------------------- All files | 100 | 100 | 100 | 100 | src | 100 | 100 | 100 | 100 | create-node-error.ts | 100 | 100 | 100 | 100 | determine-specific-type.ts | 100 | 100 | 100 | 100 | src/enums | 100 | 100 | 100 | 100 | error-code.ts | 100 | 100 | 100 | 100 | src/internal | 100 | 100 | 100 | 100 | format-message.ts | 100 | 100 | 100 | 100 | k-is-node-error.ts | 100 | 100 | 100 | 100 | prepare-stack-trace.ts | 100 | 100 | 100 | 100 | -----------------------------|---------|----------|---------|---------|-------------------yarn pack -o %s-%v.tgzAdditional context
N/A
Linked issues
N/A
Submission checklist