diff --git a/.eslintrc.json b/.eslintrc.json index 2869d819..c4428a8b 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -36,6 +36,7 @@ "@typescript-eslint/no-explicit-any": "off", "vue/no-v-for-template-key": "off", "vue/no-v-model-argument": "off", + "no-async-promise-executor": "off", "no-undef": "off" } } diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c1f7d8fa..d871410f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,5 +56,11 @@ jobs: - name: Build safelight run: pnpm build:safelight - - name: Test - run: pnpm test + - name: Test darkroom + run: pnpm test:darkroom + + - name: Test shared + run: pnpm test:shared + + - name: Test timeline + run: pnpm test:timeline diff --git a/package.json b/package.json index 1b42fa9b..f887e52c 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,9 @@ "build:timeline": "cd packages/timeline && pnpm build", "build:safelight": "cd packages/safelight && pnpm build", "test": "pnpm run -r test:run", + "test:darkroom": "cd packages/darkroom && pnpm test:run", + "test:shared": "cd packages/shared && pnpm test:run", + "test:timeline": "cd packages/timeline && pnpm test:run", "dev": "pnpm build:packages && cd packages/safelight && pnpm dev", "dev:darkroom": "pnpm build:packages && cd packages/darkroom && pnpm dev:web" }, diff --git a/packages/safelight/src/components/Editor/Library/Library.vue b/packages/safelight/src/components/Editor/Library/Library.vue index 0919b65c..0680745c 100644 --- a/packages/safelight/src/components/Editor/Library/Library.vue +++ b/packages/safelight/src/components/Editor/Library/Library.vue @@ -1,5 +1,12 @@