chore(deps): modernize coreflow tooling

This commit is contained in:
2026-04-28 12:02:22 +00:00
parent 9cce79f040
commit 6ba5e36f4f
20 changed files with 6311 additions and 6166 deletions
+10 -2
View File
@@ -1,22 +1,30 @@
import { tap, expect } from '@push.rocks/tapbundle';
import { tap, expect } from '@git.zone/tstest/tapbundle';
delete process.env.CLI_CALL;
// process.env.CLOUDLY_TESTURL = 'http://localhost:3000';
import * as coreflow from '../ts/index.js';
const shouldRunStartupTest = Boolean(process.env.CLOUDLY_URL && process.env.JUMPCODE);
if (process.env.CI) {
tap.start();
process.exit(0);
}
tap.test('should startup correctly', async () => {
if (!shouldRunStartupTest) {
return;
}
await coreflow.runCli();
});
tap.test('should end correctly', async (tools) => {
if (!shouldRunStartupTest) {
return;
}
await tools.delayFor(2000);
await coreflow.stop();
});
tap.start();
export default tap.start();