mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-01 13:14:16 +08:00
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:
parent
57fef805cd
commit
7a4e5b8641
6 changed files with 2 additions and 4 deletions
|
@ -46,7 +46,6 @@ module.exports = (grunt) ->
|
|||
packageDirectories = []
|
||||
nonPackageDirectories = [
|
||||
'dot-nylas'
|
||||
'vendor'
|
||||
]
|
||||
|
||||
{devDependencies} = grunt.file.readJSON('package.json')
|
||||
|
|
|
@ -23,7 +23,6 @@ module.exports = (grunt) ->
|
|||
'src'
|
||||
'src/browser'
|
||||
'static'
|
||||
'vendor'
|
||||
]
|
||||
|
||||
# Reactionary does not have an explicit react dependency
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue