Thanks to visit codestin.com
Credit goes to github.com

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

Commit 06bd80d

Browse files
committed
Fix test expectation
1 parent 3e92d7a commit 06bd80d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/jasmine/tests/bar_test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ describe('Bar.supplyDefaults', function() {
9595
expect(traceOut.texfont).toBeUndefined();
9696
expect(traceOut.insidetexfont).toBeUndefined();
9797
expect(traceOut.outsidetexfont).toBeUndefined();
98-
expect(traceOut.constraintext).toBeUndefined();
98+
expect(traceOut.constraintext).toBe();
9999
});
100100

101101
it('should default textfont to layout.font', function() {
@@ -117,7 +117,7 @@ describe('Bar.supplyDefaults', function() {
117117
expect(traceOut.insidetextfont).not.toBe(layout.font);
118118
expect(traceOut.insidetextfont).not.toBe(traceOut.textfont);
119119
expect(traceOut.outsidetexfont).toBeUndefined();
120-
expect(traceOut.constraintext).toBeUndefined();
120+
expect(traceOut.constraintext).toBe('both');
121121
});
122122

123123
it('should inherit layout.calendar', function() {

0 commit comments

Comments
 (0)