Skip to content

Commit ac8c332

Browse files
committed
regex for dashoffset too
1 parent 489d488 commit ac8c332

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/mui-material/src/CircularProgress/CircularProgress.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ describe('<CircularProgress />', () => {
194194

195195
expect(progressbar).to.have.nested.property('style.transform', 'rotate(-90deg)');
196196
expect(circle.style.strokeDasharray).to.match(/126\.920?(px)?/gm);
197-
expect(circle.style.strokeDashoffset).to.equal('95.190px');
197+
expect(circle.style.strokeDashoffset).to.match(/95\.190?(px)?/gm);
198198
});
199199

200200
it('should fallback to 0px strokeDashoffset if max is less than min', () => {

0 commit comments

Comments
 (0)