Skip to content
This repository has been archived by the owner on Nov 25, 2021. It is now read-only.

Commit

Permalink
test: fix explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
sqs committed Dec 10, 2018
1 parent a1924c1 commit cbd025d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/hoverifier.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,7 @@ describe('Hoverifier', () => {

const inputDiagram = 'a'

// This diagram is probably wrong. We shouldn't have to subtract 1 from the TOOLTIP_DISPLAY_DELAY.
// The actual frames are 300 and 400 but the expected without the -1 is 300 and 401.
// I'm either misunderstanding something about marble diagram syntax or there is a 1ms delay somewhere in
// the code that I'm missing.
// Subtract 1ms before "b" because "a" takes up 1ms.
const outputDiagram = `${LOADER_DELAY}ms a ${TOOLTIP_DISPLAY_DELAY - 1}ms b`

const outputValues: {
Expand Down

0 comments on commit cbd025d

Please sign in to comment.