()
| 11 | let idx = 0; |
| 12 | |
| 13 | const css: CSS = () => { |
| 14 | if (process.env.NODE_ENV === 'test') { |
| 15 | // eslint-disable-next-line no-plusplus |
| 16 | return `mocked-css-${idx++}` as LinariaClassName; |
| 17 | } |
| 18 | |
| 19 | throw new Error( |
| 20 | 'Using the "css" tag in runtime is not supported. Make sure you have set up the Babel plugin correctly.' |
| 21 | ); |
| 22 | }; |
| 23 | |
| 24 | export default css; |
no outgoing calls
no test coverage detected