Fix benchmark suit

This commit is contained in:
Corey Johnson 2012-06-29 15:51:11 -07:00
parent 801a91ec9b
commit 91c361e478
2 changed files with 4 additions and 3 deletions

View File

@ -9,7 +9,7 @@ describe "editor.", ->
beforeEach ->
window.rootViewParentSelector = '#jasmine-content'
window.startup()
rootView.project.setPath(require.resolve('fixtures'))
rootView.project.setPath(require.resolve('benchmark/fixtures'))
editor = rootView.activeEditor()
afterEach ->
@ -24,7 +24,7 @@ describe "editor.", ->
describe "300-line-file.", ->
beforeEach ->
editor.edit rootView.project.open('fixtures/medium.coffee')
editor.edit rootView.project.open('medium.coffee')
describe "at-begining.", ->
benchmark "insert-delete", ->
@ -45,7 +45,7 @@ describe "editor.", ->
describe "9000-line-file.", ->
benchmark "opening.", 5, ->
editor.edit rootView.project.open('fixtures/huge.js')
editor.edit rootView.project.open('huge.js')
describe "after-opening.", ->
beforeEach ->

View File

@ -7,6 +7,7 @@ paths = [
"#{atom.loadPath}/src"
"#{atom.loadPath}/vendor"
"#{atom.loadPath}/static"
"#{atom.loadPath}"
]
window.__filename = null