refactor(dir): move exports to src/global and consolidate tests

Summary:
This:

1. Moves spec-nylas into spec
1. Gets rid of old & irrelevant specs
1. Moves the `vendor` folder (jasmine libs) into the `spec` folder
1. Moves the `exports` folder to `src/global` and updates all references

I pretty extensively made sure the client still works and that all of the
tests pass. The changes should have no effect.

Test Plan: All tests pass!

Reviewers: bengotow, dillon

Differential Revision: https://phab.nylas.com/D2098
This commit is contained in:
Evan Morikawa 2015-10-01 21:44:21 -07:00
parent 57fef805cd
commit 7a4e5b8641
6 changed files with 2 additions and 4 deletions

View file

@ -46,7 +46,6 @@ module.exports = (grunt) ->
packageDirectories = []
nonPackageDirectories = [
'dot-nylas'
'vendor'
]
{devDependencies} = grunt.file.readJSON('package.json')

View file

@ -23,7 +23,6 @@ module.exports = (grunt) ->
'src'
'src/browser'
'static'
'vendor'
]
# Reactionary does not have an explicit react dependency

View file

@ -4,7 +4,7 @@ remote = require 'remote'
module.exports.runSpecSuite = (specSuite, logFile, logErrors=true) ->
{$, $$} = require '../src/space-pen-extensions'
window[key] = value for key, value of require '../vendor/jasmine'
window[key] = value for key, value of require './jasmine'
{TerminalReporter} = require 'jasmine-tagged'

View file

@ -3,7 +3,7 @@ atom.initialize()
atom.restoreWindowDimensions()
require 'jasmine-json'
require '../vendor/jasmine-jquery'
require './jasmine-jquery'
path = require 'path'
_ = require 'underscore'
_str = require 'underscore.string'