test: align deployment checks with accepted diagnostics and public presentation
tests / ci (push) Waiting to run
tests / ci (push) Waiting to run
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import * as publicPresentation from '../../resources/js/lib/public-presentation.ts';
|
||||
import test from 'node:test';
|
||||
import assert from 'node:assert/strict';
|
||||
import fs from 'node:fs';
|
||||
@@ -46,7 +47,9 @@ compileFunction(
|
||||
return { TerritoryFields: () => null };
|
||||
if (name === '../management/shared' || name === './shared')
|
||||
return shared;
|
||||
return require(name);
|
||||
return name === '@/lib/public-presentation'
|
||||
? publicPresentation
|
||||
: require(name);
|
||||
},
|
||||
module,
|
||||
module.exports,
|
||||
|
||||
Reference in New Issue
Block a user