You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`Non-Existent-Computed: Computed ${path} not found in cache.`
48
+
`Non-Existent-Computed: Computed ${path} not found in cache. You are seeing this warning because you are in development mode. In a production build there will be no warning.`
`Invalid-Style-Type: The following style is invalid: "${key}", computed styles are placed inside the computed section. You are seeing this warning because you are in development mode. In a production build there will be no warning and these styles will be ignored.`
it("Development mode only: GlobalUse produces a console.warn when providing a non-existent namespace",()=>{
28
-
GlobalUse("color:@not-a-namespace$blue")();
29
-
expect(console.warn).toBeCalledTimes(1);
30
-
expect(console.warn).toHaveBeenLastCalledWith(
31
-
'Non-Existent-Namespace: The following namespace does not exist or has not been imported: "not-a-namespace". You are seeing this warning because you are in development mode. In a production build there will be no warning and these styles will be ignored.'
it("Development mode only: GlobalUse produces a console.warn when providing a non-existent namespace",()=>{
191
+
GlobalUse("color:@not-a-namespace$blue")();
192
+
expect(console.warn).toBeCalledTimes(1);
193
+
expect(console.warn).toHaveBeenLastCalledWith(
194
+
'Non-Existent-Namespace: The following namespace does not exist or has not been imported: "not-a-namespace". You are seeing this warning because you are in development mode. In a production build there will be no warning and these styles will be ignored.'
195
+
);
196
+
});
197
+
198
+
it("Development mode only: GlobalStyles produces a console.warn when providing an Invalid-Style-Type",()=>{
'Invalid-Style-Type: The following style is invalid: "outsideComputed", computed styles are placed inside the computed section. You are seeing this warning because you are in development mode. In a production build there will be no warning and these styles will be ignored.'
0 commit comments