Fixed #1 - Fixed the whatsnew-** script for loading release notes into builds
Added test to ensure that release notes are parsed properly Updated to latest dependencies to fix security vulnerability Updated GH Actions Workflow to run test before updating tag Updated README.md to reflect proper whatsnew documentation.
This commit is contained in:
17
node_modules/expect/build/toThrowMatchers.js
generated
vendored
17
node_modules/expect/build/toThrowMatchers.js
generated
vendored
@@ -233,13 +233,22 @@ const toThrowExpectedObject = (matcherName, options, thrown, expected) => {
|
||||
options
|
||||
) +
|
||||
'\n\n' +
|
||||
formatExpected('Expected message: ', expected.message) +
|
||||
(thrown === null
|
||||
? '\n' + DID_NOT_THROW
|
||||
? formatExpected('Expected message: ', expected.message) +
|
||||
'\n' +
|
||||
DID_NOT_THROW
|
||||
: thrown.hasMessage
|
||||
? formatReceived('Received message: ', thrown, 'message') +
|
||||
? (0, _jestMatcherUtils.printDiffOrStringify)(
|
||||
expected.message,
|
||||
thrown.message,
|
||||
'Expected message',
|
||||
'Received message',
|
||||
true
|
||||
) +
|
||||
'\n' +
|
||||
formatStack(thrown)
|
||||
: formatReceived('Received value: ', thrown, 'value'));
|
||||
: formatExpected('Expected message: ', expected.message) +
|
||||
formatReceived('Received value: ', thrown, 'value'));
|
||||
return {
|
||||
message,
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user