@@ -7,13 +7,32 @@ exports[`valueInjectionLoader > should correctly insert values for basic config
77    " 
88` 
99
10+ exports [` valueInjectionLoader > should correctly insert values for basic config 2` =  ` 
11+ " 
12+       ;globalThis["foo"] = "bar";import * as Sentry from '@sentry/nextjs'; 
13+       Sentry.init(); 
14+     " 
15+ ` 
16+ 
1017exports [` valueInjectionLoader > should correctly insert values with a misplaced directive 1` =  ` 
1118" 
1219      ;globalThis["foo"] = "bar";console.log('This will render the directive useless'); 
1320      "use client"; 
1421
1522
1623
24+       import * as Sentry from '@sentry/nextjs'; 
25+       Sentry.init(); 
26+     " 
27+ ` 
28+ 
29+ exports [` valueInjectionLoader > should correctly insert values with a misplaced directive 2` =  ` 
30+ " 
31+       ;globalThis["foo"] = "bar";console.log('This will render the directive useless'); 
32+       "use client"; 
33+ 
34+ 
35+ 
1736      import * as Sentry from '@sentry/nextjs'; 
1837      Sentry.init(); 
1938    " 
@@ -27,6 +46,14 @@ exports[`valueInjectionLoader > should correctly insert values with directive 1`
2746    " 
2847` 
2948
49+ exports [` valueInjectionLoader > should correctly insert values with directive 2` =  ` 
50+ " 
51+       "use client";globalThis["foo"] = "bar"; 
52+       import * as Sentry from '@sentry/nextjs'; 
53+       Sentry.init(); 
54+     " 
55+ ` 
56+ 
3057exports [` valueInjectionLoader > should correctly insert values with directive and block comments 1` =  ` 
3158" 
3259      /* test */ 
@@ -36,6 +63,15 @@ exports[`valueInjectionLoader > should correctly insert values with directive an
3663    " 
3764` 
3865
66+ exports [` valueInjectionLoader > should correctly insert values with directive and block comments 2` =  ` 
67+ " 
68+       /* test */ 
69+       "use client";;globalThis["foo"] = "bar"; 
70+       import * as Sentry from '@sentry/nextjs'; 
71+       Sentry.init(); 
72+     " 
73+ ` 
74+ 
3975exports [` valueInjectionLoader > should correctly insert values with directive and inline comments 1` =  ` 
4076" 
4177      // test 
@@ -45,6 +81,15 @@ exports[`valueInjectionLoader > should correctly insert values with directive an
4581    " 
4682` 
4783
84+ exports [` valueInjectionLoader > should correctly insert values with directive and inline comments 2` =  ` 
85+ " 
86+       // test 
87+       "use client";;globalThis["foo"] = "bar"; 
88+       import * as Sentry from '@sentry/nextjs'; 
89+       Sentry.init(); 
90+     " 
91+ ` 
92+ 
4893exports [` valueInjectionLoader > should correctly insert values with directive and multiline block comments 1` =  ` 
4994" 
5095      /* 
@@ -56,6 +101,17 @@ exports[`valueInjectionLoader > should correctly insert values with directive an
56101    " 
57102` 
58103
104+ exports [` valueInjectionLoader > should correctly insert values with directive and multiline block comments 2` =  ` 
105+ " 
106+       /* 
107+         test 
108+       */ 
109+       "use client";;globalThis["foo"] = "bar"; 
110+       import * as Sentry from '@sentry/nextjs'; 
111+       Sentry.init(); 
112+     " 
113+ ` 
114+ 
59115exports [` valueInjectionLoader > should correctly insert values with directive and multiline block comments and a bunch of whitespace 1` =  ` 
60116" 
61117      /* 
@@ -65,6 +121,24 @@ exports[`valueInjectionLoader > should correctly insert values with directive an
65121
66122
67123
124+       "use client";;globalThis["foo"] = "bar"; 
125+ 
126+ 
127+ 
128+       import * as Sentry from '@sentry/nextjs'; 
129+       Sentry.init(); 
130+     " 
131+ ` 
132+ 
133+ exports [` valueInjectionLoader > should correctly insert values with directive and multiline block comments and a bunch of whitespace 2` =  ` 
134+ " 
135+       /* 
136+         test 
137+       */ 
138+ 
139+ 
140+ 
141+ 
68142      "use client";;globalThis["foo"] = "bar"; 
69143
70144
@@ -81,3 +155,11 @@ exports[`valueInjectionLoader > should correctly insert values with directive an
81155      Sentry.init(); 
82156    " 
83157` 
158+ 
159+ exports [` valueInjectionLoader > should correctly insert values with directive and semicolon 2` =  ` 
160+ " 
161+       "use client";;globalThis["foo"] = "bar"; 
162+       import * as Sentry from '@sentry/nextjs'; 
163+       Sentry.init(); 
164+     " 
165+ ` 
0 commit comments