Unverified Commit 04799216 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Fix failing actions e2e deploy test (#49497)

x-ref:
https://github.com/vercel/next.js/actions/runs/4921305860/jobs/8791173036
parent 8d228780
...@@ -12,7 +12,7 @@ createNextDescribe( ...@@ -12,7 +12,7 @@ createNextDescribe(
{ {
files: __dirname, files: __dirname,
}, },
({ next, isNextDev }) => { ({ next, isNextDev, isNextStart }) => {
it('should handle basic actions correctly', async () => { it('should handle basic actions correctly', async () => {
const browser = await next.browser('/server') const browser = await next.browser('/server')
...@@ -172,7 +172,7 @@ createNextDescribe( ...@@ -172,7 +172,7 @@ createNextDescribe(
await check(() => browser.elementByCss('h1').text(), '3') await check(() => browser.elementByCss('h1').text(), '3')
}) })
if (!isNextDev) { if (isNextStart) {
it('should not expose action content in sourcemaps', async () => { it('should not expose action content in sourcemaps', async () => {
const sourcemap = ( const sourcemap = (
await fs.readdir( await fs.readdir(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment