Skip to content

Commit 5b5f7ce

Browse files
committed
✅ test: fix test
1 parent 780064f commit 5b5f7ce

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/config-monorepo/test/index.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ describe('invalid commit', () => {
55
const { valid, errors } = await lint('chore(scope): test');
66

77
expect(valid).toBeFalsy();
8-
expect(errors).toHaveLength(1);
98
expect(errors[0].name).toBe('start-with-gitmoji');
109
});
1110

packages/config/test/index.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ describe('invalid commit', () => {
55
const { valid, errors } = await lint('chore(scope): test');
66

77
expect(valid).toBeFalsy();
8-
expect(errors).toHaveLength(1);
98
expect(errors[0].name).toBe('start-with-gitmoji');
109
});
1110

@@ -65,7 +64,9 @@ describe('valid commit', () => {
6564
expect(valid).toBeTruthy();
6665
});
6766
it('$ :lipstick: style(typography): 优化信息块和内联代码样式 -> passed', async () => {
68-
const { valid } = await lint(':lipstick: style(typography): 优化信息块和内联代码样式');
67+
const { valid } = await lint(
68+
':lipstick: style(typography): 优化信息块和内联代码样式',
69+
);
6970

7071
expect(valid).toBeTruthy();
7172
});

0 commit comments

Comments
 (0)