File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ describe('SidebarCollection [Component]', () => {
4141 } ) ;
4242
4343 it ( 'sets collection name' , ( ) => {
44- expect ( component . find ( '[data-test-id="sidebar-collection"]' ) . text ( ) ) . to . equal ( ' coll ' ) ;
44+ expect ( component . find ( '[data-test-id="sidebar-collection"]' ) . text ( ) ) . to . match ( / c o l l / ) ;
4545 } ) ;
4646
4747 it ( 'does not have a collection type icon' , ( ) => {
@@ -77,7 +77,7 @@ describe('SidebarCollection [Component]', () => {
7777 } ) ;
7878
7979 it ( 'sets collection name' , ( ) => {
80- expect ( component . find ( '[data-test-id="sidebar-collection"]' ) . text ( ) ) . to . equal ( ' coll ' ) ;
80+ expect ( component . find ( '[data-test-id="sidebar-collection"]' ) . text ( ) ) . to . match ( / c o l l / ) ;
8181 } ) ;
8282 } ) ;
8383
@@ -108,7 +108,7 @@ describe('SidebarCollection [Component]', () => {
108108 } ) ;
109109
110110 it ( 'sets collection name' , ( ) => {
111- expect ( component . find ( '[data-test-id="sidebar-collection"]' ) . text ( ) ) . to . equal ( ' albums ' ) ;
111+ expect ( component . find ( '[data-test-id="sidebar-collection"]' ) . text ( ) ) . to . match ( / a l b u m s / ) ;
112112 } ) ;
113113
114114 it ( 'has a view icon' , ( ) => {
You can’t perform that action at this time.
0 commit comments