Merge pull request #29 from leila-alderman/patch-2

Change all but the first spec to pending
This commit is contained in:
Cody Loyd 2019-01-11 15:10:18 -06:00 committed by GitHub
commit 6e0c5cdead
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,41 +23,41 @@ describe('#translate', function() {
expect(s).toEqual('appleay');
});
it('translates a word beginning with a consonant', function() {
xit('translates a word beginning with a consonant', function() {
s = pigLatin.translate("banana");
expect(s).toEqual("ananabay");
});
it('translates a word beginning with two consonants', function() {
xit('translates a word beginning with two consonants', function() {
s = pigLatin.translate("cherry");
expect(s).toEqual('errychay');
});
it('translates two words', function() {
xit('translates two words', function() {
s = pigLatin.translate("eat pie");
expect(s).toEqual('eatay iepay');
});
it('translates a word beginning with three consonants', function() {
xit('translates a word beginning with three consonants', function() {
expect(pigLatin.translate("three")).toEqual("eethray");
});
it('counts "sch" as a single phoneme', function() {
xit('counts "sch" as a single phoneme', function() {
s = pigLatin.translate("school");
expect(s).toEqual("oolschay");
});
it('counts "qu" as a single phoneme', function() {
xit('counts "qu" as a single phoneme', function() {
s = pigLatin.translate("quiet");
expect(s).toEqual("ietquay");
});
it('counts "qu" as a consonant even when its preceded by a consonant', function() {
xit('counts "qu" as a consonant even when its preceded by a consonant', function() {
s = pigLatin.translate("square");
expect(s).toEqual("aresquay");
});
it('translates many words', function() {
xit('translates many words', function() {
s = pigLatin.translate("the quick brown fox");
expect(s).toEqual("ethay ickquay ownbray oxfay");
});