target.ts 417 B

1234567891011121314151617181920
  1. // Copyright (c) Jupyter Development Team.
  2. // Distributed under the terms of the Modified BSD License.
  3. import 'jest';
  4. // Distributed under the terms of the Modified BSD License.
  5. declare let define: any;
  6. if (typeof define !== 'function') {
  7. const define = require('amdefine')(module); // eslint-disable-line
  8. }
  9. module.exports = {
  10. test: () => {
  11. return 1;
  12. },
  13. test2: () => {
  14. throw Error('Nope');
  15. }
  16. };