Add in the loop test for navigable pages, plus test workflow
This commit is contained in:
@@ -1,15 +1,23 @@
|
||||
/// <reference types="vitest" />
|
||||
// import {getViteConfig} from 'astro/config';
|
||||
//
|
||||
// export default getViteConfig(
|
||||
// {
|
||||
// test: {
|
||||
// /* for example, use global to avoid globals imports (describe, test, expect): */
|
||||
// // globals: true,
|
||||
// },
|
||||
// },
|
||||
// {
|
||||
// site: 'https://caperren.com/',
|
||||
// trailingSlash: 'always',
|
||||
// },
|
||||
// );
|
||||
import path from 'path';
|
||||
import {getViteConfig} from 'astro/config';
|
||||
|
||||
export default getViteConfig(
|
||||
{
|
||||
test: {
|
||||
exclude: [
|
||||
"test-e2e/**",
|
||||
"node_modules/**",
|
||||
],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': path.resolve(__dirname, './src')
|
||||
},
|
||||
},
|
||||
/* for example, use global to avoid globals imports (describe, test, expect): */
|
||||
// globals: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
site: 'https://caperren.com/'
|
||||
},
|
||||
);
|
||||
Reference in New Issue
Block a user