Change all but the first spec to pending

This commit is contained in:
Leila Alderman 2018-12-08 19:38:09 -05:00 committed by GitHub
parent f3ac3d53c2
commit 4a70d985b4
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'); 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"); s = pigLatin.translate("banana");
expect(s).toEqual("ananabay"); 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"); s = pigLatin.translate("cherry");
expect(s).toEqual('errychay'); expect(s).toEqual('errychay');
}); });
it('translates two words', function() { xit('translates two words', function() {
s = pigLatin.translate("eat pie"); s = pigLatin.translate("eat pie");
expect(s).toEqual('eatay iepay'); 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"); 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"); s = pigLatin.translate("school");
expect(s).toEqual("oolschay"); expect(s).toEqual("oolschay");
}); });
it('counts "qu" as a single phoneme', function() { xit('counts "qu" as a single phoneme', function() {
s = pigLatin.translate("quiet"); s = pigLatin.translate("quiet");
expect(s).toEqual("ietquay"); 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"); s = pigLatin.translate("square");
expect(s).toEqual("aresquay"); expect(s).toEqual("aresquay");
}); });
it('translates many words', function() { xit('translates many words', function() {
s = pigLatin.translate("the quick brown fox"); s = pigLatin.translate("the quick brown fox");
expect(s).toEqual("ethay ickquay ownbray oxfay"); expect(s).toEqual("ethay ickquay ownbray oxfay");
}); });