mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
Merge pull request #264 from overleaf/jpa-align-with-dev-env
[misc] make build scripts happy again
This commit is contained in:
@@ -2,7 +2,7 @@ clsi
|
||||
--data-dirs=cache,compiles,db,output
|
||||
--dependencies=
|
||||
--docker-repos=gcr.io/overleaf-ops
|
||||
--env-add=
|
||||
--env-add=ENABLE_PDF_CACHING="true"
|
||||
--env-pass-through=TEXLIVE_IMAGE
|
||||
--node-version=12.22.3
|
||||
--public-repo=True
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"start": "node $NODE_APP_OPTIONS app.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: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",
|
||||
"nodemon": "nodemon --config nodemon.json",
|
||||
"lint": "eslint --max-warnings 0 --format unix .",
|
||||
|
||||
@@ -3,7 +3,7 @@ const Path = require('path')
|
||||
const { expect } = require('chai')
|
||||
const { parseXrefTable } = require('../../../app/lib/pdfjs/parseXrefTable')
|
||||
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)
|
||||
|
||||
function snapshotPath(example) {
|
||||
Reference in New Issue
Block a user