mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Move the extensions spec code inside of the extension's spec directory. Move source code to the extension's src directory
13 lines
349 B
CoffeeScript
13 lines
349 B
CoffeeScript
fs = require 'fs'
|
|
require 'spec-helper'
|
|
|
|
# Run extension specs
|
|
for extensionPath in fs.listTree(require.resolve("extensions"))
|
|
for path in fs.listTree(fs.join(extensionPath, "spec")) when /-spec\.coffee$/.test path
|
|
require path
|
|
|
|
# Run core specs
|
|
for path in fs.listTree(require.resolve("spec")) when /-spec\.coffee$/.test path
|
|
require path
|
|
|