Skip to content

Commit

Permalink
Updated tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
igoramadas committed Apr 30, 2020
1 parent bd95561 commit e36883d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/test-a.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe("SetMeUp Main Tests", function () {
}

before(function () {
require("anyhow").setup("console")
require("anyhow").setup("none")

fs.writeFileSync("./test/settings.test.json", JSON.stringify(settingsTemplate, null, 4), {encoding: "utf8"})
fs.writeFileSync("./test/settings.secret.json", JSON.stringify(settingsTemplate, null, 4), {encoding: "utf8"})
Expand Down
2 changes: 1 addition & 1 deletion test/test-crypto.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ describe("SetMeUp Crypto Tests", function () {

it("Fails to encrypt null file", function (done) {
try {
setmeup.encrypt("./test/settings.null.json")
setmeup.encrypt("./test/settings.null.json", {key: null})

done("Encrypting empty or null should thrown an exception.")
} catch (ex) {
Expand Down

0 comments on commit e36883d

Please sign in to comment.