todo/public/vendor/morris.js/spec/support/placeholder.coffee
Supan Adit Pratama 35d8715ab4 first commit
2020-06-23 11:40:37 +07:00

7 lines
162 B
CoffeeScript
Executable File

beforeEach ->
placeholder = $('<div id="graph" style="width: 600px; height: 400px"></div>')
$('#test').append(placeholder)
afterEach ->
$('#test').empty()