Skip to content

Commit 03037e1

Browse files
committed
Reverted Posts Vitest setup changes
ref https://linear.app/ghost/issue/BER-3505/migrate-comment-moderation-filters-to-new-filter-primitives The comment filters branch should keep the existing Posts Vitest config instead of moving test setup into the Vite config.
1 parent f00488a commit 03037e1

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

apps/posts/vite.config.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ export default (function viteConfig() {
88
entry: resolve(__dirname, 'src/index.tsx'),
99
overrides: {
1010
test: {
11-
setupFiles: ['./test/setup.ts'],
1211
include: [
1312
'./test/unit/**/*',
1413
'./src/**/*.test.ts'

apps/posts/vitest.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import {createVitestConfig} from '@tryghost/admin-x-framework/test/vitest-config';
2+
3+
export default createVitestConfig();

0 commit comments

Comments
 (0)