mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-09 21:07:46 +00:00
[tests] Pass in builder to runBuildLambda() (#9262)
Removes the need for `next`/`static-build` to be present in the root `package.json` file.
This commit is contained in:
5
packages/static-build/test/builds.test.js
vendored
5
packages/static-build/test/builds.test.js
vendored
@@ -1,6 +1,9 @@
|
||||
const path = require('path');
|
||||
const fs = require('fs-extra');
|
||||
const runBuildLambda = require('../../../test/lib/run-build-lambda');
|
||||
const builder = require('../');
|
||||
const { createRunBuildLambda } = require('../../../test/lib/run-build-lambda');
|
||||
|
||||
const runBuildLambda = createRunBuildLambda(builder);
|
||||
|
||||
const FOUR_MINUTES = 240000;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user