mirror of
https://github.com/systemjs/systemjs.git
synced 2025-12-08 19:25:53 +00:00
11 lines
397 B
JavaScript
11 lines
397 B
JavaScript
suite('Base href', () => {
|
|
test(`should should resolve relative to base href`, async () => {
|
|
const m = await System.import('./base-href-relative.js');
|
|
assert.equal(m.default, 'base href relative');
|
|
});
|
|
|
|
test('should resolve import map relative to base href', async () => {
|
|
const m = await System.import('base-href-bare');
|
|
assert.equal(m.default, 'base href bare');
|
|
});
|
|
}); |