mirror of https://github.com/sveltejs/svelte
parent
cd4f987f4e
commit
c2d4ce3395
@ -0,0 +1,11 @@
|
||||
export default {
|
||||
html: '<h1>Hello world!</h1>',
|
||||
|
||||
before_test() {
|
||||
process.env.TMP_VAR = 'world';
|
||||
},
|
||||
|
||||
after_test() {
|
||||
delete process.env.TMP_VAR;
|
||||
}
|
||||
};
|
@ -0,0 +1 @@
|
||||
<h1>Hello {process.env.TMP_VAR}!</h1>
|
Loading…
Reference in new issue