feat(admin,admin-ui,medusa): Add Medusa Admin plugin (#3334)
This commit is contained in:
committed by
GitHub
parent
d6b1ad1ccd
commit
40de54b010
@@ -1,15 +1,15 @@
|
||||
import { renderHook } from "@testing-library/react-hooks"
|
||||
import { renderHook } from "@testing-library/react-hooks/dom"
|
||||
|
||||
import { fixtures } from "../../../../mocks/data"
|
||||
import {
|
||||
useAdminAddPublishableKeySalesChannelsBatch,
|
||||
useAdminCreatePublishableApiKey,
|
||||
useAdminDeletePublishableApiKey,
|
||||
useAdminRemovePublishableKeySalesChannelsBatch,
|
||||
useAdminRevokePublishableApiKey,
|
||||
useAdminUpdatePublishableApiKey,
|
||||
useAdminCreatePublishableApiKey,
|
||||
useAdminAddPublishableKeySalesChannelsBatch,
|
||||
useAdminRemovePublishableKeySalesChannelsBatch,
|
||||
} from "../../../../src"
|
||||
import { createWrapper } from "../../../utils"
|
||||
import { fixtures } from "../../../../mocks/data"
|
||||
|
||||
describe("useAdminCreatePublishableApiKey hook", () => {
|
||||
test("Created a publishable api key", async () => {
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import { renderHook } from "@testing-library/react-hooks"
|
||||
import { renderHook } from "@testing-library/react-hooks/dom"
|
||||
|
||||
import { fixtures } from "../../../../mocks/data"
|
||||
import {
|
||||
useAdminPublishableApiKey,
|
||||
useAdminPublishableApiKeys,
|
||||
useAdminPublishableApiKeySalesChannels,
|
||||
} from "../../../../src"
|
||||
import { createWrapper } from "../../../utils"
|
||||
import { fixtures } from "../../../../mocks/data"
|
||||
|
||||
describe("useAdminPublishableApiKey hook", () => {
|
||||
test("returns an publishable api key", async () => {
|
||||
|
||||
Reference in New Issue
Block a user