Skip to content

Commit 3eebcbc

Browse files
committed
chore: update test.
1 parent a76ef16 commit 3eebcbc

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

__tests__/spec/branches.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@ describe('branch test', () => {
1010
expect(branch.local.length).toStrictEqual(1);
1111
expect(branch.remote).toBeUndefined();
1212
} else {
13+
// TODO: it must be failed.
1314
expect(branch).toStrictEqual({
1415
local: [
15-
'feature/add-branches',
16-
'feature/add-remote-details',
1716
'main'
1817
],
1918
});
@@ -30,14 +29,13 @@ describe('branch test', () => {
3029
expect(branch.remote.pull.length).toStrictEqual(1);
3130
}
3231
} else {
32+
// TODO: it must be failed.
3333
expect(branch).toStrictEqual({
3434
local: [
35-
'feature/add-branches',
36-
'feature/add-remote-details',
3735
'main'
3836
],
3937
remote: {
40-
origin: [ 'feature/add-branches', 'main' ],
38+
origin: [ 'main' ],
4139
},
4240
});
4341
}

0 commit comments

Comments
 (0)