mirror of
https://github.com/sveltejs/svelte.git
synced 2024-12-01 17:30:59 +01:00
unit test
This commit is contained in:
parent
5984d98618
commit
b1f829e259
7
test/generator/globals-accessible-directly/_config.js
Normal file
7
test/generator/globals-accessible-directly/_config.js
Normal file
@ -0,0 +1,7 @@
|
||||
export default {
|
||||
html: '',
|
||||
|
||||
test ( assert, component, target ) {
|
||||
assert.htmlEqual( target.innerHTML, 'NaN' );
|
||||
}
|
||||
};
|
1
test/generator/globals-accessible-directly/main.html
Normal file
1
test/generator/globals-accessible-directly/main.html
Normal file
@ -0,0 +1 @@
|
||||
{{NaN}}
|
Loading…
Reference in New Issue
Block a user