Routing nchor added
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
const assert = require('assert');
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
const root = path.resolve(__dirname, '..');
|
||||
const canvasHtml = fs.readFileSync(path.join(root, 'frontend', 'canvas.html'), 'utf8');
|
||||
|
||||
assert(
|
||||
canvasHtml.includes('loadedProjectPage'),
|
||||
'project loading should reuse the saved project canvas instead of creating a duplicate empty project tab'
|
||||
);
|
||||
assert(
|
||||
canvasHtml.includes('nonProjectPages'),
|
||||
'project composite map should exclude the saved project page itself'
|
||||
);
|
||||
assert(
|
||||
canvasHtml.includes('layoutToCanvasY'),
|
||||
'loading saved layout YAML should convert GDS/layout Y coordinates back to canvas coordinates'
|
||||
);
|
||||
Reference in New Issue
Block a user