test: align deployment checks with accepted diagnostics and public presentation
tests / ci (push) Waiting to run

This commit is contained in:
2026-11-22 08:59:38 +02:00
parent 7fc4f2569f
commit eada56aa18
14 changed files with 158 additions and 35 deletions
@@ -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,