mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-21 07:58:04 +03:00
16 lines
493 B
CoffeeScript
16 lines
493 B
CoffeeScript
require 'window'
|
|
|
|
measure 'spec suite require time', ->
|
|
fsUtils = require 'fs-utils'
|
|
require 'spec-helper'
|
|
|
|
# Run core specs
|
|
for path in fsUtils.listTree(fsUtils.resolveOnLoadPath("spec")) when /-spec\.coffee$/.test path
|
|
require path
|
|
|
|
# Run extension specs
|
|
for packageDirPath in config.packageDirPaths
|
|
for packagePath in fsUtils.list(packageDirPath)
|
|
for path in fsUtils.listTree(fsUtils.join(packagePath, "spec")) when /-spec\.coffee$/.test path
|
|
require path
|