fix: tests
This commit is contained in:
@@ -13,17 +13,3 @@ Object {
|
|||||||
"updated_at": Any<String>,
|
"updated_at": Any<String>,
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`/admin/discounts creates admin session correctly 1`] = `
|
|
||||||
Object {
|
|
||||||
"api_token": "test_token",
|
|
||||||
"created_at": Any<String>,
|
|
||||||
"deleted_at": null,
|
|
||||||
"email": "admin@medusa.js",
|
|
||||||
"first_name": null,
|
|
||||||
"id": "admin_user",
|
|
||||||
"last_name": null,
|
|
||||||
"metadata": null,
|
|
||||||
"updated_at": Any<String>,
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ describe("/store/shipping-options", () => {
|
|||||||
beforeAll(async () => {
|
beforeAll(async () => {
|
||||||
const cwd = path.resolve(path.join(__dirname, "..", ".."))
|
const cwd = path.resolve(path.join(__dirname, "..", ".."))
|
||||||
dbConnection = await initDb({ cwd })
|
dbConnection = await initDb({ cwd })
|
||||||
medusaProcess = await setupServer({ cwd, verbose: true })
|
medusaProcess = await setupServer({ cwd })
|
||||||
})
|
})
|
||||||
|
|
||||||
afterAll(async () => {
|
afterAll(async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user