mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
16 lines
347 B
TypeScript
16 lines
347 B
TypeScript
|
import { defineDbIntegration } from '@astrojs/db/utils';
|
||
|
|
||
|
export default function testIntegration() {
|
||
|
return defineDbIntegration({
|
||
|
name: 'db-test-integration',
|
||
|
hooks: {
|
||
|
'astro:db:setup'({ extendDb }) {
|
||
|
extendDb({
|
||
|
configEntrypoint: './integration/config.ts',
|
||
|
seedEntrypoint: './integration/seed.ts',
|
||
|
});
|
||
|
},
|
||
|
},
|
||
|
});
|
||
|
}
|