Skip to content

Commit

Permalink
fix(shape): Fix issue with True Color support
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Updated kittik-cursor leads to less colors you can use
  • Loading branch information
ghaiklor committed May 12, 2016
1 parent 2938ad9 commit 70a0594
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/unit/FigText.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ describe('Shape::FigText', () => {
const text = new FigText(cursor);
const mock = sinon.mock(cursor);

mock.expects('background').once().withExactArgs(false).returns(cursor);
mock.expects('foreground').once().withExactArgs(false).returns(cursor);
mock.expects('background').once().withExactArgs('none').returns(cursor);
mock.expects('foreground').once().withExactArgs('none').returns(cursor);
mock.expects('moveTo').exactly(6).returns(cursor);
mock.expects('write').exactly(6).withArgs('').returns(cursor);

Expand Down Expand Up @@ -100,8 +100,8 @@ describe('Shape::FigText', () => {
height: 5,
x: '10%',
y: 10,
background: false,
foreground: false,
background: 'none',
foreground: 'none',
font: 'Ghost',
horizontalLayout: 'full',
verticalLayout: 'fitted'
Expand Down

0 comments on commit 70a0594

Please sign in to comment.