(message: string, options: SnapshotOptions)
| 5 | import { buildMessage } from "@std/internal/build-message"; |
| 6 | |
| 7 | export function getErrorMessage(message: string, options: SnapshotOptions) { |
| 8 | return typeof options.msg === "string" ? options.msg : message; |
| 9 | } |
| 10 | |
| 11 | /** |
| 12 | * Default serializer for `assertSnapshot`. |
no outgoing calls
no test coverage detected