mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-13 08:44:12 +03:00
14 lines
381 B
CoffeeScript
14 lines
381 B
CoffeeScript
fs = require 'fs'
|
|
require 'spec-helper'
|
|
|
|
|
|
# Run core specs
|
|
for path in fs.listTree(require.resolve("spec")) when /-spec\.coffee$/.test path
|
|
require path
|
|
|
|
# Run extension specs
|
|
for packageDirPath in config.packageDirPaths
|
|
for packagePath in fs.listTree(packageDirPath)
|
|
for path in fs.listTree(fs.join(packagePath, "spec")) when /-spec\.coffee$/.test path
|
|
require path
|