File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,21 +17,22 @@ export default defineConfig({
1717 ...( await Array . fromAsync ( glob ( `**/*.test.ts` ) ) )
1818 . filter ( ( f ) =>
1919 ! f . startsWith ( `codegen${ sep } ` ) && f !== `x${ sep } denokv.test.ts`
20- ) ,
20+ )
21+ . map ( ( f ) => f . replace ( sep , "/" ) ) ,
2122 ] ,
2223 dts : true ,
2324 unbundle : true ,
2425 inputOptions : {
2526 onwarn ( warning , defaultHandler ) {
2627 if (
2728 warning . code === "UNRESOLVED_IMPORT" &&
28- warning . id ?. endsWith ( "vocab/ vocab.test.ts" ) &&
29+ warning . id ?. endsWith ( join ( "vocab" , " vocab.test.ts") ) &&
2930 warning . exporter === "@std/testing/snapshot"
3031 ) {
3132 return ;
3233 } else if (
3334 warning . code === "UNRESOLVED_IMPORT" &&
34- warning . id ?. endsWith ( "testing/ mod.ts" ) &&
35+ warning . id ?. endsWith ( join ( "testing" , " mod.ts") ) &&
3536 warning . exporter === "bun:test"
3637 ) {
3738 return ;
You can’t perform that action at this time.
0 commit comments