mirror of https://github.com/sveltejs/svelte
Merge pull request #1930 from sveltejs/gh-1894
whitelist process, and fallback to globalspull/1935/head
commit
e7642db13d
@ -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