Skip to content

Commit

Permalink
test: update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyrus97 committed Apr 7, 2023
1 parent d38ee7d commit febc2d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loading/__test__/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ describe('loading', () => {
expect(comp.data.show).not.toBeTruthy();

const $loading = comp.querySelector('.base >>> .t-loading');
expect($loading.dom.getAttribute('style').includes('display:none')).toBeTruthy();
expect($loading.dom.style.display).toBe('none');
});

it(`: theme`, () => {
Expand Down

0 comments on commit febc2d5

Please sign in to comment.