mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #264 from overleaf/jpa-align-with-dev-env
[misc] make build scripts happy again
This commit is contained in:
commit
5e6401a1e0
27 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@ clsi
|
||||||
--data-dirs=cache,compiles,db,output
|
--data-dirs=cache,compiles,db,output
|
||||||
--dependencies=
|
--dependencies=
|
||||||
--docker-repos=gcr.io/overleaf-ops
|
--docker-repos=gcr.io/overleaf-ops
|
||||||
--env-add=
|
--env-add=ENABLE_PDF_CACHING="true"
|
||||||
--env-pass-through=TEXLIVE_IMAGE
|
--env-pass-through=TEXLIVE_IMAGE
|
||||||
--node-version=12.22.3
|
--node-version=12.22.3
|
||||||
--public-repo=True
|
--public-repo=True
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"start": "node $NODE_APP_OPTIONS app.js",
|
"start": "node $NODE_APP_OPTIONS app.js",
|
||||||
"test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
|
"test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
|
||||||
"test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
|
"test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
|
||||||
"test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js test/unit/lib",
|
"test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
|
||||||
"test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
|
"test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
|
||||||
"nodemon": "nodemon --config nodemon.json",
|
"nodemon": "nodemon --config nodemon.json",
|
||||||
"lint": "eslint --max-warnings 0 --format unix .",
|
"lint": "eslint --max-warnings 0 --format unix .",
|
||||||
|
|
|
@ -3,7 +3,7 @@ const Path = require('path')
|
||||||
const { expect } = require('chai')
|
const { expect } = require('chai')
|
||||||
const { parseXrefTable } = require('../../../app/lib/pdfjs/parseXrefTable')
|
const { parseXrefTable } = require('../../../app/lib/pdfjs/parseXrefTable')
|
||||||
const PATH_EXAMPLES = 'test/acceptance/fixtures/examples/'
|
const PATH_EXAMPLES = 'test/acceptance/fixtures/examples/'
|
||||||
const PATH_SNAPSHOTS = 'test/unit/lib/snapshots/'
|
const PATH_SNAPSHOTS = 'test/unit/js/snapshots/pdfjs/'
|
||||||
const EXAMPLES = fs.readdirSync(PATH_EXAMPLES)
|
const EXAMPLES = fs.readdirSync(PATH_EXAMPLES)
|
||||||
|
|
||||||
function snapshotPath(example) {
|
function snapshotPath(example) {
|
Loading…
Reference in a new issue