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:
12
node_modules/exec-sh/test/exec-sh.js
generated
vendored
12
node_modules/exec-sh/test/exec-sh.js
generated
vendored
@@ -73,7 +73,7 @@ describe('exec-sh', function () {
|
||||
stdio: 'inherit'
|
||||
}
|
||||
execSh('command', options)
|
||||
assert.deepEqual(spawn.getCall(0).args[2], expectedOptions)
|
||||
assert.deepStrictEqual(spawn.getCall(0).args[2], expectedOptions)
|
||||
})
|
||||
|
||||
it('should allow overriding default options', function () {
|
||||
@@ -83,7 +83,7 @@ describe('exec-sh', function () {
|
||||
stdio: null
|
||||
}
|
||||
execSh('command', options)
|
||||
assert.deepEqual(spawn.getCall(0).args[2], expectedOptions)
|
||||
assert.deepStrictEqual(spawn.getCall(0).args[2], expectedOptions)
|
||||
})
|
||||
|
||||
it('should allow passing nested environment options', function () {
|
||||
@@ -101,7 +101,7 @@ describe('exec-sh', function () {
|
||||
stdio: 'inherit'
|
||||
}
|
||||
execSh('command', options)
|
||||
assert.deepEqual(spawn.getCall(0).args[2], expectedOptions)
|
||||
assert.deepStrictEqual(spawn.getCall(0).args[2], expectedOptions)
|
||||
})
|
||||
|
||||
it("should accept optional 'callback' parameter", function () {
|
||||
@@ -166,7 +166,7 @@ describe('exec-sh', function () {
|
||||
exitCode = 1
|
||||
execSh('command', function (err) {
|
||||
assert(err instanceof Error)
|
||||
assert.equal(exitCode, err.code)
|
||||
assert.strictEqual(exitCode, err.code)
|
||||
done()
|
||||
})
|
||||
})
|
||||
@@ -177,8 +177,8 @@ describe('exec-sh', function () {
|
||||
|
||||
it('promise interface: should resolve with stderr and stdout', function (done) {
|
||||
execSh.promise('command').then(function (data) {
|
||||
assert(data.hasOwnProperty('stdout'))
|
||||
assert(data.hasOwnProperty('stderr'))
|
||||
assert.ok('stdout' in data)
|
||||
assert.ok('stderr' in data)
|
||||
done()
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user