mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #14382 from overleaf/jpa-change-ci-defaults
[web] use representative defaultFeatures for Server Pro/CE in tests GitOrigin-RevId: 859187579e8d410f5890e863a46a9440b724c543
This commit is contained in:
parent
4b2ecd8b19
commit
94a4659672
2 changed files with 6 additions and 3 deletions
|
@ -1,7 +1,10 @@
|
||||||
const { merge } = require('@overleaf/settings/merge')
|
const { merge } = require('@overleaf/settings/merge')
|
||||||
|
const ServerCEDefaults = require('../../../config/settings.defaults')
|
||||||
const base = require('./settings.test.defaults')
|
const base = require('./settings.test.defaults')
|
||||||
|
|
||||||
module.exports = base.mergeWith({})
|
module.exports = base.mergeWith({
|
||||||
|
defaultFeatures: ServerCEDefaults.defaultFeatures,
|
||||||
|
})
|
||||||
|
|
||||||
module.exports.mergeWith = function (overrides) {
|
module.exports.mergeWith = function (overrides) {
|
||||||
return merge(overrides, module.exports)
|
return merge(overrides, module.exports)
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
const { merge } = require('@overleaf/settings/merge')
|
const { merge } = require('@overleaf/settings/merge')
|
||||||
const baseApp = require('../../../config/settings.overrides.server-pro')
|
const baseApp = require('../../../config/settings.overrides.server-pro')
|
||||||
const baseTest = require('./settings.test.defaults')
|
const baseTestServerCE = require('./settings.test.server-ce')
|
||||||
|
|
||||||
module.exports = baseApp.mergeWith(
|
module.exports = baseApp.mergeWith(
|
||||||
baseTest.mergeWith({
|
baseTestServerCE.mergeWith({
|
||||||
proxyLearn: true,
|
proxyLearn: true,
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue