mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-14 04:29:04 +03:00
25 lines
584 B
CoffeeScript
25 lines
584 B
CoffeeScript
{$$} = require 'space-pen'
|
|
nakedLoad 'jasmine'
|
|
nakedLoad 'jasmine-html'
|
|
nakedLoad 'jasmine-focused'
|
|
|
|
$ = require 'jquery'
|
|
|
|
document.title = "Benchmark Suite"
|
|
|
|
$('head').append $$ ->
|
|
@link rel: "stylesheet", type: "text/css", href: "static/jasmine.css"
|
|
|
|
$('body').append $$ ->
|
|
@div id: 'jasmine_runner'
|
|
@div id: 'jasmine-content'
|
|
|
|
jasmineEnv = jasmine.getEnv()
|
|
atomReporter = new jasmine.AtomReporter(document, 'jasmine_runner')
|
|
|
|
jasmineEnv.addReporter(atomReporter)
|
|
|
|
jasmineEnv.specFilter = (spec) -> atomReporter.specFilter(spec)
|
|
|
|
require 'benchmark-suite'
|
|
jasmineEnv.execute() |