std@0.139.0/testing/_diff.ts

Deno standard library
GitHub Stars
2187
Go to latest
import * as mod from "https://deno.land/std@0.139.0/testing/_diff.ts";

Functions

buildMessage
diff

Renders the differences between the actual and expected values

diffstr

Renders the differences between the actual and expected strings Partially inspired from https://github.com/kpdecker/jsdiff