-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps): Pin
@babel/plugin-transform-modules-commonjs
to 7.18.6 (#…
…37660) (#37665) Co-authored-by: pieh <misiek.piechowiak@gmail.com> Co-authored-by: Lennart <lekoarts@gmail.com>
- Loading branch information
1 parent
8419b34
commit 62d2ef9
Showing
5 changed files
with
43 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
describe(`Engines (SSR)`, () => { | ||
beforeEach(() => { | ||
cy.visit("/ssr").waitForRouteChange() | ||
}) | ||
it(`should work`, () => { | ||
cy.get('[data-cy-id="getserverdata-result"]').should( | ||
"have.text", | ||
"getServerData used in contentful E2E test" | ||
) | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import React from "react" | ||
import Layout from "../components/layout" | ||
|
||
const SSRPage = ({ serverData }) => ( | ||
<Layout> | ||
<div data-cy-id="getserverdata-result">{serverData.test}</div> | ||
</Layout> | ||
) | ||
|
||
export default SSRPage | ||
|
||
export function getServerData() { | ||
return { | ||
props: { | ||
test: "getServerData used in contentful E2E test", | ||
}, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../babel-preset-gatsby-package/lib/__tests__/fixtures/keep-dynamic-import/default/output.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters