mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
[misc] move test scripts into test/ tree
This commit is contained in:
parent
39809562fd
commit
69df7f5bb3
3 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@
|
|||
"author": "ShareLaTeX",
|
||||
"license": "ISC",
|
||||
"scripts": {
|
||||
"test": "mocha --require coffee-script/register test.coffee"
|
||||
"test": "mocha --require coffee-script/register test/unit/src/*.coffee"
|
||||
},
|
||||
"dependencies": {
|
||||
"coffee-script": "1.8.0",
|
||||
|
|
|
@ -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 "../../index.coffee"
|
||||
|
||||
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.coffee"
|
||||
expect = require("chai").expect
|
||||
|
||||
describe "index", ->
|
Loading…
Reference in a new issue