mirror of
https://github.com/10h30/odin-javascript-exercises.git
synced 2026-06-05 15:09:09 +09:00
Remove test skips for solutions
This commit is contained in:
@@ -22,35 +22,35 @@ describe('translate', () => {
|
||||
expect(pigLatin('apple')).toBe('appleay');
|
||||
});
|
||||
|
||||
test.skip('translates a word beginning with a consonant', () => {
|
||||
test('translates a word beginning with a consonant', () => {
|
||||
expect(pigLatin('banana')).toBe('ananabay');
|
||||
});
|
||||
|
||||
test.skip('translates a word beginning with two consonants', () => {
|
||||
test('translates a word beginning with two consonants', () => {
|
||||
expect(pigLatin('cherry')).toBe('errychay');
|
||||
});
|
||||
|
||||
test.skip('translates two words', () => {
|
||||
test('translates two words', () => {
|
||||
expect(pigLatin('eat pie')).toBe('eatay iepay');
|
||||
});
|
||||
|
||||
test.skip('translates a word beginning with three consonants', () => {
|
||||
test('translates a word beginning with three consonants', () => {
|
||||
expect(pigLatin('three')).toBe('eethray');
|
||||
});
|
||||
|
||||
test.skip('counts "sch" as a single phoneme', () => {
|
||||
test('counts "sch" as a single phoneme', () => {
|
||||
expect(pigLatin('school')).toBe('oolschay');
|
||||
});
|
||||
|
||||
test.skip('counts "qu" as a single phoneme', () => {
|
||||
test('counts "qu" as a single phoneme', () => {
|
||||
expect(pigLatin('quiet')).toBe('ietquay');
|
||||
});
|
||||
|
||||
test.skip('counts "qu" as a consonant even when its preceded by a consonant', () => {
|
||||
test('counts "qu" as a consonant even when its preceded by a consonant', () => {
|
||||
expect(pigLatin('square')).toBe('aresquay');
|
||||
});
|
||||
|
||||
test.skip('translates many words', () => {
|
||||
test('translates many words', () => {
|
||||
expect(pigLatin('the quick brown fox')).toBe('ethay ickquay ownbray oxfay');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user