Skip to content

Commit 41989f5

Browse files
committed
remove async from tests
1 parent a8f2839 commit 41989f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/isLimitRateHit/isLimitRateHit.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ describe('limit rate is disabed', () => {
4343
expect(isLimitRateHit(localStorage, location.pathname, limitRate)).toBeFalsy();
4444
});
4545

46-
it('not same page or ID', async () => {
46+
it('not same page or ID', () => {
4747
const limitRate: LimitRate = {
4848
throttle: 100,
4949
};
@@ -57,7 +57,7 @@ describe('limit rate is disabed', () => {
5757
});
5858

5959
describe('limit rate is enabled', () => {
60-
it('hit limit', async () => {
60+
it('hit limit', () => {
6161
const limitRate: LimitRate = {
6262
id: 'app',
6363
throttle: 100,

0 commit comments

Comments
 (0)