Files
ask262/test/inspector/__snapshots__/console.test.mts.snap
T
bendtherules 6e92d2345e Squashed 'engine262/' content from commit ae71998
git-subtree-dir: engine262
git-subtree-split: ae71998cc5a8315700555135b1ac202a0d6d0b31
2026-03-27 10:07:29 +05:30

72 lines
1.3 KiB
Plaintext

// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`preview evaluation > [] 1`] = `
{
"className": "Array",
"description": "Array(0)",
"objectId": "default:1",
"preview": {
"description": "Array(0)",
"overflow": false,
"properties": [],
"subtype": "array",
"type": "object",
},
"subtype": "array",
"type": "object",
}
`;
exports[`preview evaluation > [1, 2, 3].map(x => x + 1) 1`] = `
{
"className": "Array",
"description": "Array(3)",
"objectId": "default:4",
"preview": {
"description": "Array(3)",
"overflow": false,
"properties": [
{
"name": "0",
"type": "number",
"value": "2",
},
{
"name": "1",
"type": "number",
"value": "3",
},
{
"name": "2",
"type": "number",
"value": "4",
},
],
"subtype": "array",
"type": "object",
},
"subtype": "array",
"type": "object",
}
`;
exports[`preview evaluation > { let a = 1; a } 1`] = `
{
"description": "1",
"type": "number",
"value": 1,
}
`;
exports[`preview evaluation > { var a = 1; a } 1`] = `"side effect"`;
exports[`preview evaluation > 1 1`] = `
{
"description": "1",
"type": "number",
"value": 1,
}
`;
exports[`preview evaluation > globalThis.x = 1 1`] = `"side effect"`;