aboutsummaryrefslogtreecommitdiff
path: root/test/docs/__snapshots__/format.spec.ts.snap
blob: 36679523c3316884db8cec7a9ff5b149e8a03654 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`formatResult > should format Date 1`] = `"'2025-01-01T00:00:00.000Z'"`;

exports[`formatResult > should format array 1`] = `"[ 1, '2' ]"`;

exports[`formatResult > should format bigint 1`] = `"135464154865415n"`;

exports[`formatResult > should format number 1`] = `"123"`;

exports[`formatResult > should format object 1`] = `"{ 'a': 1, 'b': '2' }"`;

exports[`formatResult > should format string 1`] = `"'a simple string'"`;

exports[`formatResult > should format string with new lines 1`] = `"'string\\nwith\\nnew\\nlines'"`;

exports[`formatResult > should format string with special characters 1`] = `"'string with "special" characters'"`;

exports[`formatResult > should format undefined 1`] = `"undefined"`;