Unverified Commit 47939786 authored by Niklas Mischkulnig's avatar Niklas Mischkulnig Committed by GitHub

test: skip action module instance deploy test (#96629)

There might be multiple function instances with their own
app/shared/action.js and thus multiple instances of the counter.
parent 4fdca028
...@@ -523,6 +523,9 @@ describe('app-dir action handling', () => { ...@@ -523,6 +523,9 @@ describe('app-dir action handling', () => {
}) })
}) })
// Skip in deployment mode: there might be multiple function instances with their own
// app/shared/action.js and thus multiple instances of the counter.
if (!isNextDeploy) {
it('should support importing the same action module instance in both server and action layers', async () => { it('should support importing the same action module instance in both server and action layers', async () => {
const browser = await next.browser('/shared') const browser = await next.browser('/shared')
...@@ -539,6 +542,7 @@ describe('app-dir action handling', () => { ...@@ -539,6 +542,7 @@ describe('app-dir action handling', () => {
expect(await browser.elementByCss('#value').text()).toBe('Value = 2') expect(await browser.elementByCss('#value').text()).toBe('Value = 2')
}) })
}) })
}
it('should not block navigation events while a server action is in flight', async () => { it('should not block navigation events while a server action is in flight', async () => {
let browser = await next.browser('/client') let browser = await next.browser('/client')
......
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