Skip to content

Commit

Permalink
Fix failing actions e2e deploy test (#49497)
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed May 9, 2023
1 parent 8d22878 commit 0479921
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/app-dir/actions/app-action.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ createNextDescribe(
{
files: __dirname,
},
({ next, isNextDev }) => {
({ next, isNextDev, isNextStart }) => {
it('should handle basic actions correctly', async () => {
const browser = await next.browser('/server')

Expand Down Expand Up @@ -172,7 +172,7 @@ createNextDescribe(
await check(() => browser.elementByCss('h1').text(), '3')
})

if (!isNextDev) {
if (isNextStart) {
it('should not expose action content in sourcemaps', async () => {
const sourcemap = (
await fs.readdir(
Expand Down

0 comments on commit 0479921

Please sign in to comment.