version 0.2.0 replaces fromer version!
This commit is contained in:
@@ -15,7 +15,8 @@ export default defineConfig({
|
||||
{ name: "chromium", use: { ...devices["Desktop Chrome"] } },
|
||||
],
|
||||
webServer: {
|
||||
command: "npx --yes serve -l 4321 examples/whynot-control",
|
||||
// Serve the entire repo root so showcase + UI kit + assets all resolve via relative URLs.
|
||||
command: "npx --yes serve -l 4321 .",
|
||||
url: "http://localhost:4321",
|
||||
reuseExistingServer: !process.env.CI,
|
||||
stdout: "ignore",
|
||||
@@ -23,7 +24,6 @@ export default defineConfig({
|
||||
},
|
||||
expect: {
|
||||
toHaveScreenshot: {
|
||||
// Reasonable tolerance for font hinting / sub-pixel jitter.
|
||||
maxDiffPixelRatio: 0.005,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user