before functional changes by codex

This commit is contained in:
znetsixe
2026-02-19 17:37:54 +01:00
parent 54e1fd0f43
commit 7ea49b8bd9
13 changed files with 81 additions and 1 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 valveGroupControl', () => {
const count = flow.filter((n) => n && n.type === 'valveGroupControl').length;
assert.equal(count >= 1, true);
});