diff --git a/.env b/.env new file mode 100644 index 0000000..e25d77d --- /dev/null +++ b/.env @@ -0,0 +1 @@ +DJANGO_CORS_ORIGIN_WHITELIST=['http://localhost:3000'] \ No newline at end of file diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 57d5e42..dbe6bfe 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -116,4 +116,5 @@ jobs: run: npm ci working-directory: client - name: Run tests - run: npm run test \ No newline at end of file + run: npm run test + working-directory: client diff --git a/client/package.json b/client/package.json index 7c7975e..ab69ce0 100644 --- a/client/package.json +++ b/client/package.json @@ -8,7 +8,7 @@ "preview": "vite preview", "format": "eslint --ext .js,.ts,.vue --ignore-path .gitignore --fix src", "lint:eslint": "eslint --ext .js,.ts,.vue --ignore-path .gitignore --no-fix src", - "test:unit": "jest", + "test": "jest", "lint:typescript": "vue-tsc --noEmit" }, "dependencies": {