alxshelepenok/gatsby-starter-lumen

View on GitHub
internal/testing/__mocks__/edges.ts

Summary

Maintainability
A
0 mins
Test Coverage
export default [
  {
    node: {
      id: "08870ea6-bdc8-4ec6-bf72-1e7d4488eb72",
      fields: {
        slug: "/posts/perfecting-the-art-of-perfection",
        categorySlug: "/typography",
      },
      frontmatter: {
        date: "2016-09-01",
        description:
          "An Essay on Typography by Eric Gill takes the reader back to the year 1930. The year when a conflict between two worlds came to its term. The machines of the industrial world finally took over the handicrafts.",
        category: "Typography",
        title: "Perfecting the Art of Perfection",
        template: "post",
      },
      html: "<p>An Essay on Typography by Eric Gill takes the reader back to the year 1930. The year when a conflict between two worlds came to its term. The machines of the industrial world finally took over the handicrafts.</p>",
    },
  },
  {
    node: {
      id: "066adc91-f87a-4e57-9fef-7a677baf5c1d",
      fields: {
        slug: "/posts/the-birth-of-movable-type",
        categorySlug: "/design-inspiration",
      },
      frontmatter: {
        date: "2016-09-01",
        slug: "/posts/johannes-gutenberg",
        description:
          "German inventor Johannes Gutenberg developed a method of movable type and used it to create one of the western world’s first major printed books, the “Forty–Two–Line” Bible.",
        category: "Design Inspiration",
        title: "Johannes Gutenberg: The Birth of Movable Type",
        template: "post",
      },
      html: "<p>German inventor Johannes Gutenberg developed a method of movable type and used it to create one of the western world’s first major printed books, the “Forty–Two–Line” Bible.</p>",
    },
  },
  {
    node: {
      id: "016ad3e3dc91-f87a-f57-9fef-5a677baf5c1c",
      fields: {
        slug: "/posts/humane-typography-in-the-digital-age",
        categorySlug: "/typography",
      },
      frontmatter: {
        date: "2017-09-01",
        category: "Typography",
        title: "Humane Typography in the Digital Age",
        template: "post",
      },
      html: "<p>Donec non enim in turpis pulvinar facilisis. Ut felis.</p>",
    },
  },
];