Skip to content

Commit c664ce6

Browse files
committed
Use relative path to node_modules in coffeescript
1 parent 234a60d commit c664ce6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spec/jasmine-test-runner.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ temp.track()
99
module.exports = ({logFile, headless, testPaths, buildAtomEnvironment}) ->
1010
window[key] = value for key, value of require '../vendor/jasmine'
1111

12-
require 'jasmine-tagged'
12+
require './node_modules/jasmine-tagged'
1313

1414
# Rewrite global jasmine functions to have support for async tests.
1515
# This way packages can create async specs without having to import these from the
@@ -166,5 +166,5 @@ buildTerminalReporter = (logFile, resolveWithExitCode) ->
166166
{JasmineListReporter} = require './jasmine-list-reporter'
167167
new JasmineListReporter(options)
168168
else
169-
{TerminalReporter} = require 'jasmine-tagged'
169+
{TerminalReporter} = require './node_modules/jasmine-tagged'
170170
new TerminalReporter(options)

spec/spec-helper.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
require 'jasmine-json'
1+
require './node_modules/jasmine-json'
22
require '../src/window'
33
require '../vendor/jasmine-jquery'
44
path = require 'path'

0 commit comments

Comments
 (0)