Skip to content

Commit

Permalink
fix: test case
Browse files Browse the repository at this point in the history
  • Loading branch information
itswadesh committed Nov 18, 2023
1 parent fbfc3f9 commit 7999a9c
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 8 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,5 @@ dev-dist
.vercel_build_output
$houdini
$kitql
test-results/basic-test/trace.zip
test-results/home-test/trace.zip
package.json
test-results/*
.gitignore
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "svelte-commerce",
"version": "2023.05.06",
"version": "2.0.1",
"private": true,
"scripts": {
"dev": "node src/lib/services/copy && vite dev --host --port 3000",
Expand Down
8 changes: 4 additions & 4 deletions playwright.config.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import type { PlaywrightTestConfig } from '@playwright/test'
import { port } from './tests/config'

const config: PlaywrightTestConfig = {
webServer: {
command: 'npm run build && npm run preview',
port: 4173,
protocol: 'http'
command: 'npm run preview',
port,
},
testDir: 'tests',
timeout: 60000,
timeout: 150000,
use: {
ignoreHTTPSErrors: true
}
Expand Down
46 changes: 46 additions & 0 deletions vite.config.js.timestamp-1700308014109-77dac3271fa38.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
// vite.config.js
import { sveltekit } from "file:///D:/lk/lk/sc/node_modules/@sveltejs/kit/src/exports/vite/index.js";
import { defineConfig, loadEnv } from "file:///D:/lk/lk/sc/node_modules/vite/dist/node/index.js";
import { SvelteKitPWA } from "file:///D:/lk/lk/sc/node_modules/@vite-pwa/sveltekit/dist/index.mjs";
var vite_config_default = defineConfig(({ command, mode }) => {
const env = loadEnv(mode, process.cwd(), "");
const HTTP_ENDPOINT = env.PUBLIC_LITEKART_API_URL || "https://api.litekart.in";
return {
plugins: [
sveltekit(),
SvelteKitPWA({
registerType: "autoUpdate",
workbox: {
globPatterns: ["**/*.{ico,png,svg,webp}"]
},
srcDir: "./src",
// mode: 'development',
scope: "/",
base: "/",
devOptions: {
// enabled: true,
type: "module",
navigateFallback: "/"
},
// if you have shared info in svelte config file put in a separate module and use it also here
kit: {}
})
// partytownVite({
// dest: join(process.cwd(), 'static', '~partytown')
// })
],
server: {
https: false,
host: true,
port: 4173,
proxy: {
"/api": HTTP_ENDPOINT,
"/sitemap": "https://s3.ap-south-1.amazonaws.com/litekart.in"
}
}
};
});
export {
vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFxsa1xcXFxsa1xcXFxzY1wiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9maWxlbmFtZSA9IFwiRDpcXFxcbGtcXFxcbGtcXFxcc2NcXFxcdml0ZS5jb25maWcuanNcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfaW1wb3J0X21ldGFfdXJsID0gXCJmaWxlOi8vL0Q6L2xrL2xrL3NjL3ZpdGUuY29uZmlnLmpzXCI7aW1wb3J0IHsgc3ZlbHRla2l0IH0gZnJvbSAnQHN2ZWx0ZWpzL2tpdC92aXRlJ1xyXG5pbXBvcnQgeyBkZWZpbmVDb25maWcsIGxvYWRFbnYgfSBmcm9tICd2aXRlJ1xyXG4vLyBpbXBvcnQgeyBqb2luIH0gZnJvbSAncGF0aCdcclxuLy8gaW1wb3J0IHsgcGFydHl0b3duVml0ZSB9IGZyb20gJ0BidWlsZGVyLmlvL3BhcnR5dG93bi91dGlscydcclxuaW1wb3J0IHsgU3ZlbHRlS2l0UFdBIH0gZnJvbSAnQHZpdGUtcHdhL3N2ZWx0ZWtpdCdcclxuLyoqIEB0eXBlIHtpbXBvcnQoJ3ZpdGUnKS5Vc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UFBQSxRQUVBLEtBQUssQ0FBQztBQUFBLE1BQ1AsQ0FBQztBQUFBO0FBQUE7QUFBQTtBQUFBLElBSUY7QUFBQSxJQUNBLFFBQVE7QUFBQSxNQUNQLE9BQU87QUFBQSxNQUNQLE1BQU07QUFBQSxNQUNOLE1BQU07QUFBQSxNQUNOLE9BQU87QUFBQSxRQUNOLFFBQVE7QUFBQSxRQUNSLFlBQVk7QUFBQSxNQUNiO0FBQUEsSUFDRDtBQUFBLEVBQ0Q7QUFDRCxDQUFDOyIsCiAgIm5hbWVzIjogW10KfQo=

1 comment on commit 7999a9c

@vercel
Copy link

@vercel vercel bot commented on 7999a9c Nov 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.