mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-15 23:27:15 +00:00
[misc] reference module via js/loose file extension
This commit is contained in:
parent
69df7f5bb3
commit
7eccce2ed0
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# execute this script with a redis container running to test the health check
|
||||
# starting and stopping redis with this script running is a good test
|
||||
|
||||
redis = require "../../index.coffee"
|
||||
redis = require "../.."
|
||||
|
||||
rclient = redis.createClient({host:"localhost",port:"6379"})
|
||||
setInterval () ->
|
||||
|
|
|
@ -3,7 +3,7 @@ SandboxedModule = require('sandboxed-module')
|
|||
assert = require('assert')
|
||||
path = require('path')
|
||||
sinon = require('sinon')
|
||||
modulePath = path.join __dirname, "./../../../index.coffee"
|
||||
modulePath = path.join __dirname, "./../../../index.js"
|
||||
expect = require("chai").expect
|
||||
|
||||
describe "index", ->
|
||||
|
|
Loading…
Add table
Reference in a new issue