mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-19 03:02:30 +02:00
chore: do not print prototype in jest snapshot (#6908)
This commit is contained in:
parent
3a4b9b4c30
commit
8c1e518ba2
37 changed files with 1536 additions and 1519 deletions
|
@ -1,28 +1,28 @@
|
|||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`docusaurus-plugin-content-pages loads simple pages 1`] = `
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"permalink": "/",
|
||||
"source": "@site/src/pages/index.js",
|
||||
"type": "jsx",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"permalink": "/typescript",
|
||||
"source": "@site/src/pages/typescript.tsx",
|
||||
"type": "jsx",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"description": "Markdown index page",
|
||||
"frontMatter": Object {},
|
||||
"frontMatter": {},
|
||||
"permalink": "/hello/",
|
||||
"source": "@site/src/pages/hello/index.md",
|
||||
"title": "Index",
|
||||
"type": "mdx",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"description": "my mdx page",
|
||||
"frontMatter": Object {
|
||||
"frontMatter": {
|
||||
"description": "my mdx page",
|
||||
"title": "mdx page",
|
||||
},
|
||||
|
@ -31,20 +31,20 @@ Array [
|
|||
"title": "mdx page",
|
||||
"type": "mdx",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"permalink": "/hello/translatedJs",
|
||||
"source": "@site/src/pages/hello/translatedJs.js",
|
||||
"type": "jsx",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"description": "translated markdown page",
|
||||
"frontMatter": Object {},
|
||||
"frontMatter": {},
|
||||
"permalink": "/hello/translatedMd",
|
||||
"source": "@site/src/pages/hello/translatedMd.md",
|
||||
"title": undefined,
|
||||
"type": "mdx",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"permalink": "/hello/world",
|
||||
"source": "@site/src/pages/hello/world.js",
|
||||
"type": "jsx",
|
||||
|
@ -53,28 +53,28 @@ Array [
|
|||
`;
|
||||
|
||||
exports[`docusaurus-plugin-content-pages loads simple pages with french translations 1`] = `
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"permalink": "/",
|
||||
"source": "@site/src/pages/index.js",
|
||||
"type": "jsx",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"permalink": "/typescript",
|
||||
"source": "@site/src/pages/typescript.tsx",
|
||||
"type": "jsx",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"description": "Markdown index page",
|
||||
"frontMatter": Object {},
|
||||
"frontMatter": {},
|
||||
"permalink": "/hello/",
|
||||
"source": "@site/src/pages/hello/index.md",
|
||||
"title": "Index",
|
||||
"type": "mdx",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"description": "my mdx page",
|
||||
"frontMatter": Object {
|
||||
"frontMatter": {
|
||||
"description": "my mdx page",
|
||||
"title": "mdx page",
|
||||
},
|
||||
|
@ -83,20 +83,20 @@ Array [
|
|||
"title": "mdx page",
|
||||
"type": "mdx",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"permalink": "/hello/translatedJs",
|
||||
"source": "@site/i18n/fr/docusaurus-plugin-content-pages/hello/translatedJs.js",
|
||||
"type": "jsx",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"description": "translated markdown page (fr)",
|
||||
"frontMatter": Object {},
|
||||
"frontMatter": {},
|
||||
"permalink": "/hello/translatedMd",
|
||||
"source": "@site/i18n/fr/docusaurus-plugin-content-pages/hello/translatedMd.md",
|
||||
"title": undefined,
|
||||
"type": "mdx",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"permalink": "/hello/world",
|
||||
"source": "@site/src/pages/hello/world.js",
|
||||
"type": "jsx",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue