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
varexpectedContents=`export * from './other-component${EOL}export * from './my-component/my-smaller-component';${EOL}`;
124
+
varexpectedContents=`export * from './another-component${EOL}export * from './my-component/my-smaller-component';${EOL}export * from './other-component${EOL}`;
'index.ts': `export * from './other-component${EOL}export * from './my-component';${EOL}export * from './my-component/my-smaller-component';${EOL}`
137
+
'index.ts': `export * from './other-component${EOL}export * from './my-component';${EOL}export * from './another-component${EOL}export * from './my-component/my-smaller-component';${EOL}`
varexpectedContents=`export * from './other-component${EOL}export * from './my-component';${EOL}export * from './my-component/my-smaller-component';${EOL}`;
155
+
varexpectedContents=`export * from './another-component${EOL}export * from './my-component';${EOL}export * from './my-component/my-smaller-component';${EOL}export * from './other-component${EOL}`;
157
156
expect(contents).to.equal(expectedContents);
158
157
});
159
158
});
160
159
161
-
it('update barrel from installation dir with file name should do nothing',()=>{
160
+
it('update barrel from installation dir with file name should add nothing',()=>{
varexpectedContents=`export * from './other-component${EOL}export * from './my-component';${EOL}export * from './my-component/my-smaller-component';${EOL}`;
166
+
varexpectedContents=`export * from './another-component${EOL}export * from './my-component';${EOL}export * from './my-component/my-smaller-component';${EOL}export * from './other-component${EOL}`;
0 commit comments