Skip to main content
Module

x/structured_json/test/index.test.js

Stringify and parse JavaScript values according to Structured Clone Algorithm.
Go to Latest
File
import 'https://gist.githubusercontent.com/qwtel/b14f0f81e3a96189f7771f83ee113f64/raw/TestRequest.ts'import { assert, assertExists, assertEquals, assertStrictEquals, assertStringIncludes, assertThrows, assertRejects, assertArrayIncludes,} from 'https://deno.land/std@0.133.0/testing/asserts.ts'const { test } = Deno;
import * as Structured from '../index.ts'
test('exists', () => { assertExists(Structured.stringify) assertExists(Structured.parse) assertExists(Structured.toJSON) assertExists(Structured.fromJSON)})