Skip to content

Commit

Permalink
test: fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pkarolyi committed May 3, 2024
1 parent 6126d12 commit 55a525b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
STORAGE_PROVIDER=

# required if provider is local
LOCAL_DIRECTORY=
LOCAL_STORAGE_PATH=

# required if provider is s3
S3_BUCKET=
Expand Down
4 changes: 4 additions & 0 deletions test/vitest.config.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ export default defineConfig({
include: ["**/*.e2e-spec.ts"],
globals: true,
root: "./",
env: {
STORAGE_PROVIDER: "local",
LOCAL_STORAGE_PATH: "blobs",
},
},
plugins: [swc.vite()],
});
5 changes: 4 additions & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@ export default defineConfig({
test: {
globals: true,
root: "./",
env: {
STORAGE_PROVIDER: "local",
LOCAL_STORAGE_PATH: "blobs",
},
exclude: [...configDefaults.exclude, "integration/*"],
coverage: {
exclude: [
...configDefaults.exclude,
"integration/*",
"test/*",
".eslintrc.js",
"**/*.module.ts",
"**/*.constants.ts",
],
},
Expand Down

0 comments on commit 55a525b

Please sign in to comment.