fix: Use origin as provided in HeadSeo. origin would be different for Domain cases (#14935)

* fix: Use origin as provided in HeadSeo. origin would be different for Domain cases

* Add a test

* add more test

* Add tests

* Cleanup tests

* Add an e2e as well

* fix-test

* Reset mocks
This commit is contained in:
Hariom Balhara authored and GitHub committed 2024-05-23 11:47:46 +01:00
1 parent 29ccc58806
commit 5f5cf92456
16 files changed
+730 -27

No files matched your search

+9
View File
@@ -146,6 +146,15 @@ const workspaces = packagedEmbedTestsOnly
setupFiles: [],
},
},
{
test: {
globals: true,
environment: "jsdom",
name: "@calcom/web/modules/views",
include: ["apps/web/modules/**/*.{test,spec}.tsx"],
setupFiles: ["apps/web/modules/test-setup.ts"],
},
},
];
export default defineWorkspace(workspaces);