fix(react): remove generated styles.[ext] file for CSS-in-JS solutions like styled-compoentns/emotion (#4347)
This commit is contained in:
parent
47cd7d8edb
commit
cd9b96c98e
@ -482,6 +482,9 @@ describe('app', () => {
|
||||
tree.exists('apps/my-app/src/app/app.styled-components')
|
||||
).toBeFalsy();
|
||||
expect(tree.exists('apps/my-app/src/app/app.tsx')).toBeTruthy();
|
||||
expect(
|
||||
tree.exists('apps/my-app/src/styles.styled-components')
|
||||
).toBeFalsy();
|
||||
|
||||
const content = tree.read('apps/my-app/src/app/app.tsx').toString();
|
||||
expect(content).toContain('styled-component');
|
||||
|
||||
@ -0,0 +1 @@
|
||||
/* You can add global styles to this file, and also import other style files */
|
||||
Loading…
x
Reference in New Issue
Block a user