Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('should reject null required parameters', async function () {
const error = await assertEx.throwsAsync(testClient.parameterGrouping.postRequired(null));
assert(error);
assert.strictEqual(error.message, "parameterGroupingPostRequiredParameters.path cannot be null or undefined.");
});