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 b95c0a3 commit dab5b6dCopy full SHA for dab5b6d
src/services/utils.ts
@@ -58,7 +58,7 @@ export function regExprValidation(
58
errorMessage: string
59
) {
60
const re = new RegExp(rule);
61
- assert.strictEqual(re.test(value), true, errorMessage);
+ assert.ok(re.test(value), errorMessage);
62
}
63
64
export async function fetchWithTimeout(resource: string, options: any = {}) {
0 commit comments