mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-26 00:50:41 -05:00
a364607b6b
* link: create fake @packages/root * server: switch to loading @packages/root * server: update tests after using @packages/root * load root package in other places * load root package in build using @packages/root * update tests that mock root package * server: fix server start whenever loading root package in updater * fix updater test * uncomment code
10 lines
258 B
CoffeeScript
10 lines
258 B
CoffeeScript
_ = require("lodash")
|
|
Promise = require("bluebird")
|
|
json = require("@packages/root")
|
|
|
|
module.exports = (options) ->
|
|
Promise.resolve(
|
|
## TODO: omit anything from options which is a function
|
|
_.extend {}, options, _.pick(json, "version")
|
|
)
|