import { sentenceCase } from 'pokedex/helpers/sentence-case';
import { module, test } from 'qunit';

module('Unit | Helper | sentence case');

test('it returns the empty string if input is null', function(assert) {
  let result = sentenceCase([null]);
  assert.strictEqual(result, '', 'Result of null should be empty');
});

@@ -317,8 +317,344 @@
 ');%0A%7D);%0A
+%0Atest('it capitalizes the first letter of the string', function(assert) %7B%0A%09let result = sentenceCase(%5B'inputstring'%5D);%0A%09assert.strictEqual(result, 'Inputstring');%0A%7D);%0A%0Atest('it lower-cases subsequent letters of the string', function(assert) %7B%0A%09let result = sentenceCase(%5B'iNPUTSTRING'%5D);%0A%09assert.strictEqual(result, 'Inputstring');%0A%7D);%0A

add more sentence case tests