Function
assertFailureTagged
(tag: string, run: () => Result.Result<unknown, { readonly _tag: string }>)
Source from the content-addressed store, hash-verified
| 12 | } |
| 13 | |
| 14 | const assertFailureTagged = (tag: string, run: () => Result.Result<unknown, { readonly _tag: string }>) => { |
| 15 | const result = run() |
| 16 | assert.isTrue(Result.isFailure(result)) |
| 17 | if (Result.isFailure(result)) assert.strictEqual(result.failure._tag, tag) |
| 18 | } |
| 19 | |
| 20 | describe("PgAuth", () => { |
| 21 | describe("md5Password", () => { |
Tested by
no test coverage detected