| 1234567891011 |
- const test = require('node:test');
- const assert = require('node:assert/strict');
- const fs = require('node:fs');
- test('background imports step registry and shared step definitions', () => {
- const source = fs.readFileSync('background.js', 'utf8');
- assert.match(source, /background\/steps\/registry\.js/);
- assert.match(source, /data\/step-definitions\.js/);
- assert.match(source, /MultiPageStepDefinitions\?\.getSteps/);
- assert.match(source, /stepRegistry\.executeStep\(step,\s*state\)/);
- });
|