<commit_before>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');
});<commit_msg>add more sentence case tests<commit_after>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');
});

test('it capitalizes the first letter of the string', function(assert) {
	let result = sentenceCase(['inputstring']);
	assert.strictEqual(result, 'Inputstring');
});

test('it lower-cases subsequent letters of the string', function(assert) {
	let result = sentenceCase(['iNPUTSTRING']);
	assert.strictEqual(result, 'Inputstring');
});
{'fraction_non_alphanumeric': 0.14367269267364416, 'fraction_numerical': 0.0, 'mean_word_length': 5.966887417218543, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '810801', 'n_tokens_mistral': 295, 'n_tokens_neox': 294, 'n_words': 97}