Command Shift

Boolean to Word

Yes and No

Expected Behaviour

When booleanToWord is passed true, it should return 'Yes'. When it is passed false, it should return 'No'.

Assertion

  • returns Yes when passed true

  • returns No when passed false

Run tests

 
npm run test -- booleanToWord

On this page