Skip to content

Commit 0ad5fec

Browse files
committed
Do not hard-code default opacity
1 parent 00fdcba commit 0ad5fec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/components/ng-http-loader.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ describe('NgHttpLoaderComponent', () => {
889889
.query(By.css('#spinner'))
890890
.nativeElement;
891891

892-
expect(element.style.opacity).toBe('0.7');
892+
expect(element.style.opacity).toBe(`0${component.opacity}`);
893893
});
894894

895895
it('should be possible to override opacity', () => {

0 commit comments

Comments
 (0)