import { assert_mapped , assert_not_mapped } from '../../helpers' ; export function test ( { input , preprocessed } ) { assert_mapped ( { code : '<script>' , input : input . locate , preprocessed } ) ; assert_mapped ( { code : 'console.log(name);' , input : input . locate , preprocessed } ) ; assert_mapped ( { code : '<div>{name}</div>' , input : input . locate , preprocessed } ) ; assert_not_mapped ( { code : 'font-weight: bold;' , preprocessed } ) ; assert_mapped ( { code : '</style>' , input : input . locate , preprocessed } ) ; }