Expected behavior
I'm trying to make a div element that I injected before each test go to full-screen, outside of karma it works, but have no idea why nothing happens when I test the function in karma.
Actual behavior
call the function to go to full screen and actually do it again manually, but doesn' t go to full screen when checked.
Enviroment Details
node.js, chrome, karma, jasmine
- Karma version (output of
karma --version): 1.1.1
- Relevant part of your
karma.config.js file
Steps to reproduce the behaviour
- Have a div element with an id.
- write a function to make it go to full-screen.
- test the function in karma by injecting a div element and then calling the function.