mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-13 08:44:12 +03:00
12 lines
352 B
CoffeeScript
12 lines
352 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 extensionPath in fs.listTree(require.resolve("src/extensions"))
|
|
for path in fs.listTree(fs.join(extensionPath, "spec")) when /-spec\.coffee$/.test path
|
|
require path
|