We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7fdfb8 commit ffd78dfCopy full SHA for ffd78df
__tests__/main.test.ts
@@ -208,12 +208,7 @@ describe('getDescribeAssetsOptions', () => {
208
})
209
210
test('getDescribeAssetsOptions: unsupported option throws', () => {
211
- try {
212
- getDescribeAssetsOptions('unsupported options')
213
- fail('should fail with unsupported options')
214
- } catch (e) {
215
- // pass
216
- }
+ expect(() => getDescribeAssetsOptions('unsupported options')).toThrow()
217
218
219
// generate all combinations of sections as string
0 commit comments