diff --git a/nucleotide-count/example.js b/nucleotide-count/example.js index d2e6eb1a..546a39fc 100644 --- a/nucleotide-count/example.js +++ b/nucleotide-count/example.js @@ -5,7 +5,7 @@ var splitDNA = dnaString.split(''); this.nucleotideCounts = { A : 0, T : 0, C : 0, G : 0 }; - this.validNucleotides = 'ATCGU'; + this.validNucleotides = 'ATCG'; splitDNA.reduce(this.countAll, this.nucleotideCounts); } @@ -28,4 +28,4 @@ }; module.exports = DNA; -})(); \ No newline at end of file +})(); diff --git a/nucleotide-count/nucleotide-count_test.spec.js b/nucleotide-count/nucleotide-count_test.spec.js index 4c56763b..5428bfa3 100644 --- a/nucleotide-count/nucleotide-count_test.spec.js +++ b/nucleotide-count/nucleotide-count_test.spec.js @@ -35,11 +35,6 @@ describe('DNA', function() { expect(dna.count('T')).toEqual(2); }); - xit('has no uracil', function(){ - var dna = new DNA('GGTTGG'); - expect(dna.count('U')).toEqual(0); - }); - xit('validates nucleotides', function(){ var dna = new DNA('GGTTGG'); expect(function(){