Harden settler runtime and scaffold tests

This commit is contained in:
root
2026-03-31 14:26:10 +02:00
parent 7f2d326612
commit 9af42bdc4c
20 changed files with 765 additions and 665 deletions

0
test/edge/.gitkeep Normal file
View File

View File

@@ -0,0 +1,11 @@
const test = require('node:test');
const assert = require('node:assert/strict');
const fs = require('node:fs');
const path = require('node:path');
const flow = JSON.parse(fs.readFileSync(path.resolve(__dirname, '../../examples/basic.flow.json'), 'utf8'));
test('basic example includes node type settler', () => {
const count = flow.filter((n) => n && n.type === 'settler').length;
assert.equal(count >= 1, true);
});