forked from unimatrix/web
12 lines
656 B
JavaScript
12 lines
656 B
JavaScript
import test from 'node:test';
|
|
import assert from 'node:assert/strict';
|
|
import {readFileSync} from 'node:fs';
|
|
const source=readFileSync(new URL('../control-panel/public/bank-dashboard.mjs',import.meta.url),'utf8');
|
|
test('bank dashboard retains Corrino Group link without duplicating its page',()=>{
|
|
assert.match(source,/\['Corrino Group','https:\/\/www\.dunerealms\.com\/corrino-group\.html'\]/);
|
|
assert.match(source,/\['My accounts','personal-bank'\]/);
|
|
assert.match(source,/\['Loan Centre','loan-centre'\]/);
|
|
});
|
|
test('Imperial Postbank continues to identify Corrino Group',()=>{
|
|
assert.match(source,/Imperial Postbank · Part of Corrino Group/);
|
|
});
|

Staff