From 902ebbafb7cfb56f7a878d33cf94e5708861ff4a Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 30 Sep 2023 19:22:52 -0300 Subject: test: various error whitespace cleanup --- .../data/composite/common-utilities/exposeConstant.js | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'test/unit/data/composite/common-utilities/exposeConstant.js') diff --git a/test/unit/data/composite/common-utilities/exposeConstant.js b/test/unit/data/composite/common-utilities/exposeConstant.js index 829dc706..bfed0951 100644 --- a/test/unit/data/composite/common-utilities/exposeConstant.js +++ b/test/unit/data/composite/common-utilities/exposeConstant.js @@ -34,19 +34,13 @@ t.test(`exposeConstant: validate inputs`, t => { t.throws( () => exposeConstant({}), - { - message: `Errors in input options passed to exposeConstant`, - errors: [ - {message: `Required these inputs: value`}, - ], - }); + {message: `Errors in input options passed to exposeConstant`, errors: [ + {message: `Required these inputs: value`}, + ]}); t.throws( () => exposeConstant({value: 'some dependency'}), - { - message: `Errors in input options passed to exposeConstant`, - errors: [ - {message: `value: Expected input.value() call, got dependency name`}, - ], - }); + {message: `Errors in input options passed to exposeConstant`, errors: [ + {message: `value: Expected input.value() call, got dependency name`}, + ]}); }); -- cgit 1.3.0-6-gf8a5