Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('strips import tag', function() {
const html = `
<template>
<p></p>
</template>
`;
const expected = `
<template>
<p></p>
</template>
`;
assert.deepEqual(stripMetaData(html), {
html: expected,
shadowMode: null,
deps: ['./a'],
containerless: false,
bindables: {}
});
});
it('returns empty html', function() {
assert.deepEqual(stripMetaData(' '), {
html: ' ',
shadowMode: null,
deps: [],
containerless: false,
bindables: {}
});
});