Skip to content
This repository was archived by the owner on Aug 1, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nucleotide-count/example.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand All @@ -28,4 +28,4 @@
};

module.exports = DNA;
})();
})();
5 changes: 0 additions & 5 deletions nucleotide-count/nucleotide-count_test.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(){
Expand Down