Sort inputs and remove whitespaces after exclamation at the beginning of lines

This commit is contained in:
Álvaro Mondéjar 2020-11-28 20:34:06 +01:00
parent 9c77c9dbfc
commit 2bdaf00273
3 changed files with 34 additions and 3 deletions

View file

@ -97,7 +97,7 @@ test("restore with no key", async () => {
test("restore with too many keys should fail", async () => {
const path = "node_modules";
const key = "node-test";
const restoreKeys = [...Array(20).keys()].map(x => x.toString());
const restoreKeys = [...Array(20).keys()].map(x => x.toString()).sort();
testUtils.setInputs({
path: path,
key,