Browse Source

test for #898

rewrite
Rich Harris 8 years ago
parent
commit
c096eb4b26
  1. 4
      test/form/includes-all-namespace-declarations/_config.js
  2. 5
      test/form/includes-all-namespace-declarations/_expected/amd.js
  3. 2
      test/form/includes-all-namespace-declarations/_expected/cjs.js
  4. 0
      test/form/includes-all-namespace-declarations/_expected/es.js
  5. 6
      test/form/includes-all-namespace-declarations/_expected/iife.js
  6. 9
      test/form/includes-all-namespace-declarations/_expected/umd.js
  7. 7
      test/form/includes-all-namespace-declarations/indirection.js
  8. 1
      test/form/includes-all-namespace-declarations/main.js
  9. 3
      test/form/includes-all-namespace-declarations/unused.js

4
test/form/includes-all-namespace-declarations/_config.js

@ -0,0 +1,4 @@
module.exports = {
solo: true,
description: 'includes all declarations referenced by reified namespaces'
}

5
test/form/includes-all-namespace-declarations/_expected/amd.js

@ -0,0 +1,5 @@
define(function () { 'use strict';
});

2
test/form/includes-all-namespace-declarations/_expected/cjs.js

@ -0,0 +1,2 @@
'use strict';

0
test/form/includes-all-namespace-declarations/_expected/es.js

6
test/form/includes-all-namespace-declarations/_expected/iife.js

@ -0,0 +1,6 @@
(function () {
'use strict';
}());

9
test/form/includes-all-namespace-declarations/_expected/umd.js

@ -0,0 +1,9 @@
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory() :
typeof define === 'function' && define.amd ? define(factory) :
(factory());
}(this, (function () { 'use strict';
})));

7
test/form/includes-all-namespace-declarations/indirection.js

@ -0,0 +1,7 @@
import * as unused from './unused.js';
var indirection = {
unused: unused
};
export { indirection };

1
test/form/includes-all-namespace-declarations/main.js

@ -0,0 +1 @@
import { indirection } from './indirection.js';

3
test/form/includes-all-namespace-declarations/unused.js

@ -0,0 +1,3 @@
function foo () {}
export { foo };
Loading…
Cancel
Save