UNPKG

grunt-mocha-blanket

Version:

Headless Blanket.js code coverage and Mocha testing via PhantomJS

25 lines (20 loc) 658 B
/*global Vowels, define, it, describe, expect */ /*jshint -W030 */ define([ "src/spelling/vowels" ], function( Vowels ){ describe("Vowels test", function() { it("should not consider F to be a vowel", function() { expect(Vowels.isVowel("F")).to.be.false; }); it("should consider A, E, I, O, U to be a vowels", function() { expect(Vowels.isVowel("A")).to.be.true; expect(Vowels.isVowel("E")).to.be.true; expect(Vowels.isVowel("I")).to.be.true; expect(Vowels.isVowel("O")).to.be.true; expect(Vowels.isVowel("U")).to.be.true; }); }); });