diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-09-30 19:22:52 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-09-30 19:23:16 -0300 |
commit | 902ebbafb7cfb56f7a878d33cf94e5708861ff4a (patch) | |
tree | 3d56d8942285b3a20cba0583779e5a5f396c9a81 /test/unit/data/composite/common-utilities/exposeConstant.js | |
parent | 9b9aa750297a220d76b6602e1e23c891e50986d4 (diff) |
test: various error whitespace cleanup
Diffstat (limited to 'test/unit/data/composite/common-utilities/exposeConstant.js')
-rw-r--r-- | test/unit/data/composite/common-utilities/exposeConstant.js | 18 |
1 files changed, 6 insertions, 12 deletions
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`}, + ]}); }); |