chore: Update version in main for embeds that are already released. (#9822)
* Release latest embeds * Release latest embeds * Ensure that unpublished packages arent imported * linter is important to catch unexpected imports * Create new release * Add a new patch
This commit is contained in:
1 parent
1566a80e40
commit
2a8eca7885
13 files changed
+162
-21
No files matched your search
@@ -11,6 +11,14 @@ import { getCalApi } from "@calcom/embed-react";
|
||||
|
||||
const api = getCalApi();
|
||||
|
||||
test("Check that the API is available", () => {
|
||||
test("Check that the API is available", async () => {
|
||||
expect(api).toBeDefined()
|
||||
const awaitedApi = await api;
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
awaitedApi('floatingButton', {
|
||||
config: {
|
||||
// @ts-expect-error We are intentionaly testing invalid value
|
||||
layout: 'wrongview'
|
||||
}
|
||||
})
|
||||
});
|
||||
Reference in new issue
Block a user