Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- beforeEach(function() {
- controller = this.subject();
- });
- it('sets selectedImage to null', function() {
- expect(controller.get('selectedImage')).to.eql(null);
- });
- describe('setCoverageTest', function() {
- it('sets selectedImage to true', function() {
- expect(controller.get('selectedImage')).to.eql(null);
- controller.setCoverageTest();
- expect(controller.get('selectedImage')).to.be.true;
- });
- });
- module.exports = {
- excludes: ['*/templates/**/*'],
- useBabelInstrumenter: true
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement