You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/runtime/samples/nbsp/_config.js

9 lines
197 B

export default {
html: '<span>&nbsp;</span>',
test({ assert, component, target }) {
const text = target.querySelector( 'span' ).textContent;
assert.equal( text.charCodeAt( 0 ), 160 );
}
};