Skip to content

Commit

Permalink
Add test for quz/index
Browse files Browse the repository at this point in the history
  • Loading branch information
tmquinn committed Jan 24, 2018
1 parent ed8c85a commit ffacdb4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/all.js
Expand Up @@ -1371,6 +1371,9 @@ test('alias chain (simple) with implicit /index', function() {
define('foo', define.alias('bar'));

equal(require('quz'), 'I AM BAR');
throws(function() {
require('quz/index');
}, 'Could not find module `quz/index` imported from `(require)`');

var stats = statsForMonitor('loaderjs', tree);

Expand Down

0 comments on commit ffacdb4

Please sign in to comment.