Skip to content

Instantly share code, notes, and snippets.

@wperron
Created October 21, 2020 12:35
Show Gist options
  • Save wperron/f4a7bf79172f5c354d5c75850bb7d511 to your computer and use it in GitHub Desktop.
Save wperron/f4a7bf79172f5c354d5c75850bb7d511 to your computer and use it in GitHub Desktop.
demo test output on long strings nested in objects in deno
import { assertEquals } from "https://deno.land/[email protected]/testing/asserts.ts";
Deno.test("test", async () => {
assertEquals(
{
foo: "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of ERROR ERROR."
},
{
foo: "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."
}
)
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment