bahmutov / bdd-stdin

Utility for easily feeding mock responses to unit tests that require command line input from the user
39 stars 4 forks source link

Why the version v0.2.0 is not equals github #4

Open imcuttle opened 6 years ago

imcuttle commented 6 years ago

From NPM

bddStdin.keys = Object.freeze({
  up: '\u001b[A',
  down: '\u001b[B',
  left: '\u001b[D',
  right: '\u001b[C'
});

From Github

bddStdin.keys =  Object.freeze({
  up: '\u001b[A',
  down: '\u001b[B',
  left: '\u001b[D',
  right: '\u001b[C',
  enter: '\n',
  space: ' '
})