mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 10:20:09 +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
|
@ -77,7 +77,7 @@ describe('validateThemeConfig', () => {
|
|||
expect(() =>
|
||||
testValidateThemeConfig({liveCodeBlock}),
|
||||
).toThrowErrorMatchingInlineSnapshot(
|
||||
`"\\"liveCodeBlock.playgroundPosition\\" must be one of [top, bottom]"`,
|
||||
`""liveCodeBlock.playgroundPosition" must be one of [top, bottom]"`,
|
||||
);
|
||||
});
|
||||
it('playgroundPosition invalid boolean', () => {
|
||||
|
@ -85,7 +85,7 @@ describe('validateThemeConfig', () => {
|
|||
expect(() =>
|
||||
testValidateThemeConfig({liveCodeBlock}),
|
||||
).toThrowErrorMatchingInlineSnapshot(
|
||||
`"\\"liveCodeBlock.playgroundPosition\\" must be one of [top, bottom]"`,
|
||||
`""liveCodeBlock.playgroundPosition" must be one of [top, bottom]"`,
|
||||
);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue