mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-15 18:17:35 +02:00
chore: disable string escaping in snapshots (#7131)
This commit is contained in:
parent
4134ebb3fb
commit
9145ae88cc
60 changed files with 1881 additions and 1884 deletions
|
@ -202,7 +202,7 @@ describe('getFolderContainingFile', () => {
|
|||
'dataFileUtils.test.ts',
|
||||
),
|
||||
).rejects.toThrowErrorMatchingInlineSnapshot(`
|
||||
"File \\"dataFileUtils.test.ts\\" does not exist in any of these folders:
|
||||
"File "dataFileUtils.test.ts" does not exist in any of these folders:
|
||||
- /foo
|
||||
- /bar
|
||||
- /baz"
|
||||
|
|
|
@ -131,7 +131,7 @@ describe('reportMessage', () => {
|
|||
// @ts-expect-error: for test
|
||||
reportMessage('hey', 'foo'),
|
||||
).toThrowErrorMatchingInlineSnapshot(
|
||||
`"Unexpected \\"reportingSeverity\\" value: foo."`,
|
||||
`"Unexpected "reportingSeverity" value: foo."`,
|
||||
);
|
||||
expect(consoleLog).toBeCalledTimes(1);
|
||||
expect(consoleLog).toBeCalledWith(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue