We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 542a4ad commit be0ceaaCopy full SHA for be0ceaa
1 file changed
tests/integration/rsc-mf/tests/index.test.ts
@@ -657,6 +657,10 @@ function runTests({ mode }: TestConfig) {
657
it('should route remote actions through host endpoint', () => {
658
expect(actionRequestUrls.length).toBe(EXPECTED_ACTION_POSTS_PER_MODE);
659
expect(actionRequestUrls.length).toBe(actionRequestIds.length);
660
+ const uniqueActionRequestUrls = Array.from(new Set(actionRequestUrls));
661
+ expect(uniqueActionRequestUrls).toEqual([
662
+ `http://127.0.0.1:${hostPort}${HOST_RSC_URL}`,
663
+ ]);
664
expect(
665
actionRequestUrls.every(url =>
666
url.startsWith(`http://127.0.0.1:${hostPort}${HOST_RSC_URL}`),
0 commit comments