chore: wire Carplace into dev and production stacks
Build & Deploy / Build & Push Docker Image (push) Successful in 2m55s
Test / Type Check (all packages) (push) Successful in 54s
Build & Deploy / Deploy to VPS (push) Successful in 4s
Test / API Unit Tests (push) Failing after 48s
Test / Homepage Unit Tests (push) Successful in 43s
Test / Storefront Unit Tests (push) Failing after 40s
Test / Admin Unit Tests (push) Successful in 40s
Test / Dashboard Unit Tests (push) Failing after 42s
Test / API Integration Tests (push) Successful in 1m0s
Build & Deploy / Build & Push Docker Image (push) Successful in 2m55s
Test / Type Check (all packages) (push) Successful in 54s
Build & Deploy / Deploy to VPS (push) Successful in 4s
Test / API Unit Tests (push) Failing after 48s
Test / Homepage Unit Tests (push) Successful in 43s
Test / Storefront Unit Tests (push) Failing after 40s
Test / Admin Unit Tests (push) Successful in 40s
Test / Dashboard Unit Tests (push) Failing after 42s
Test / API Integration Tests (push) Successful in 1m0s
This commit is contained in:
@@ -37,9 +37,9 @@ function request(input: string, options: { token?: string; headers?: Record<stri
|
||||
}
|
||||
}
|
||||
|
||||
async function loadMiddleware(storefrontUrl = 'https://market.example.com') {
|
||||
async function loadMiddleware(websiteUrl = 'https://market.example.com') {
|
||||
vi.resetModules()
|
||||
process.env.NEXT_PUBLIC_STOREFRONT_URL = storefrontUrl
|
||||
process.env.NEXT_PUBLIC_WEBSITE_URL = websiteUrl
|
||||
return import('./middleware')
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ beforeEach(() => {
|
||||
})
|
||||
|
||||
afterEach(() => {
|
||||
delete process.env.NEXT_PUBLIC_STOREFRONT_URL
|
||||
delete process.env.NEXT_PUBLIC_WEBSITE_URL
|
||||
vi.resetModules()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user