Skip to content

Commit

Permalink
Use relative path to node_modules in coffeescript
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Apr 1, 2021
1 parent 234a60d commit c664ce6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spec/jasmine-test-runner.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ temp.track()
module.exports = ({logFile, headless, testPaths, buildAtomEnvironment}) ->
window[key] = value for key, value of require '../vendor/jasmine'

require 'jasmine-tagged'
require './node_modules/jasmine-tagged'

# Rewrite global jasmine functions to have support for async tests.
# This way packages can create async specs without having to import these from the
Expand Down Expand Up @@ -166,5 +166,5 @@ buildTerminalReporter = (logFile, resolveWithExitCode) ->
{JasmineListReporter} = require './jasmine-list-reporter'
new JasmineListReporter(options)
else
{TerminalReporter} = require 'jasmine-tagged'
{TerminalReporter} = require './node_modules/jasmine-tagged'
new TerminalReporter(options)
2 changes: 1 addition & 1 deletion spec/spec-helper.coffee
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'jasmine-json'
require './node_modules/jasmine-json'
require '../src/window'
require '../vendor/jasmine-jquery'
path = require 'path'
Expand Down

0 comments on commit c664ce6

Please sign in to comment.