prettier/tests_integration/__tests__/__snapshots__/load-toml.js.snap

37 lines
738 B
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`TOML loads toml successfully 1`] = `
Object {
"database": Object {
"connection_max": 5000,
"enabled": true,
"ports": Array [
8001,
8001,
8002,
],
"server": "192.168.1.1",
Symbol(type): Symbol(table),
Symbol(declared): true,
},
"owner": Object {
"dob": 1979-05-27T15:32:00.000Z,
"name": "Tom Preston-Werner",
Symbol(type): Symbol(table),
Symbol(declared): true,
},
"title": "TOML Example",
Symbol(type): Symbol(table),
Symbol(declared): false,
}
`;
exports[`TOML throws error on incorrect toml 1`] = `
"TOML Error in example.toml:
Unknown character \\"47\\" at row 1, col 2, pos 1:
1> ///ERROR///
^
"
`;