|
|
@ -12,11 +12,9 @@ sourceMapSupport.install();
|
|
|
|
|
|
|
|
|
|
|
|
// for coverage purposes, we need to test source files,
|
|
|
|
// for coverage purposes, we need to test source files,
|
|
|
|
// but for sanity purposes, we need to test dist files
|
|
|
|
// but for sanity purposes, we need to test dist files
|
|
|
|
const svelte = process.env.CI ? {
|
|
|
|
const svelte = process.env.CI ?
|
|
|
|
parse: require( '../compiler/parse/index.js' ),
|
|
|
|
require( '../compiler/index.js' ) :
|
|
|
|
validate: require( '../compiler/validate/index.js' ),
|
|
|
|
require( '../dist/svelte.js' );
|
|
|
|
compile: require( '../compiler/index.js' )
|
|
|
|
|
|
|
|
} : require( '../dist/svelte.js' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const cache = {};
|
|
|
|
const cache = {};
|
|
|
|
|
|
|
|
|
|
|
|