fix(build): Restore buildRefs tests after jest update fixes es modules.

This commit is contained in:
Sam 2022-06-02 09:24:02 +02:00
parent a11e675671
commit a6842739f8
No known key found for this signature in database
GPG Key ID: D004126FCD1A6DF0
3 changed files with 988 additions and 990 deletions

File diff suppressed because it is too large Load Diff

View File

@ -25,7 +25,7 @@ async function evaluateBuildOperators({ context, input, refDef }) {
const { output, errors } = operatorsParser.parse({
input,
location: refDef.path,
location: refDef.path ?? refDef.resolver,
operatorPrefix: '_build.',
});
if (errors.length > 0) {

View File

@ -19,7 +19,7 @@ function resolver(path, vars, context) {
resolved: true,
path,
vars,
contextId: context.id,
stage: context.stage,
};
}