Skip to content

Commit 10be17f

Browse files
committed
test(backdrop): fix paddingRight testing issue
1 parent 5b0fa2b commit 10be17f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

projects/coreui-angular/src/lib/backdrop/backdrop.service.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ describe('BackdropService', () => {
5252
service.hideScrollbar();
5353
tick();
5454
expect(document.body.style.overflow).toBe('hidden');
55-
expect(document.body.style.paddingRight).toBe('');
55+
expect(['', '0px']).toContain(document.body.style.paddingRight);
5656
expect(document.body.style.paddingLeft).toContain('px');
5757
service.resetScrollbar();
5858
document.body.removeAttribute('dir');

0 commit comments

Comments
 (0)