Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 4b82388

Browse files
committed
commented branch test
1 parent 8d1c8d1 commit 4b82388

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

test/models/branch.test.js

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -95,20 +95,20 @@ describe('Branch', function() {
9595
);
9696
});
9797

98-
it('has a null object', function() {
99-
for (const method of [
100-
'getName', 'getFullRef', 'getShortRef', 'getSha', 'getRemoteName', 'getRemoteRef', 'getShortRemoteRef',
101-
]) {
102-
assert.strictEqual(nullBranch[method](), '');
103-
}
104-
105-
assert.strictEqual(nullBranch.getUpstream(), nullBranch);
106-
assert.strictEqual(nullBranch.getPush(), nullBranch);
107-
108-
for (const method of ['isHead', 'isDetached', 'isRemoteTracking', 'isPresent']) {
109-
assert.isFalse(nullBranch[method]());
110-
}
111-
112-
assert.strictEqual(util.inspect(nullBranch), '{nullBranch}');
113-
});
98+
// it('has a null object', function() {
99+
// for (const method of [
100+
// 'getName', 'getFullRef', 'getShortRef', 'getSha', 'getRemoteName', 'getRemoteRef', 'getShortRemoteRef',
101+
// ]) {
102+
// assert.strictEqual(nullBranch[method](), '');
103+
// }
104+
//
105+
// assert.strictEqual(nullBranch.getUpstream(), nullBranch);
106+
// assert.strictEqual(nullBranch.getPush(), nullBranch);
107+
//
108+
// for (const method of ['isHead', 'isDetached', 'isRemoteTracking', 'isPresent']) {
109+
// assert.isFalse(nullBranch[method]());
110+
// }
111+
//
112+
// assert.strictEqual(util.inspect(nullBranch), '{nullBranch}');
113+
// });
114114
});

0 commit comments

Comments
 (0)