mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-08-23 10:06:44 +00:00
21 lines
365 B
JavaScript
21 lines
365 B
JavaScript
/*\
|
|
title: determinism/submodule/a.js
|
|
type: application/javascript
|
|
module-type: library
|
|
|
|
Determinism require test A
|
|
|
|
\*/
|
|
|
|
|
|
var test = require('test');
|
|
var pass = false;
|
|
var test = require('test');
|
|
try {
|
|
require('a');
|
|
} catch (exception) {
|
|
pass = true;
|
|
}
|
|
test.assert(pass, 'require does not fall back to relative modules when absolutes are not available.')
|
|
|