@@ -14,41 +14,6 @@ it('is a test', function () {
1414
1515`
1616
17- exports [ 'math default exports' ] = `
18- (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
19- "use strict";
20-
21- Object.defineProperty(exports, "__esModule", {
22- value: true
23- });
24- exports["default"] = void 0;
25- var _default = {
26- add: function add(a, b) {
27- return a + b;
28- }
29- };
30- exports["default"] = _default;
31- module.exports = exports.default;
32- module.exports.default = exports.default;
33-
34- },{}],2:[function(require,module,exports){
35- "use strict";
36-
37- var _math = require("./math");
38-
39- context('math.js', function () {
40- it('imports function', function () {
41- expect(_math.add, 'add').to.be.a('function');
42- });
43- it('can add numbers', function () {
44- expect((0, _math.add)(1, 2)).to.eq(3);
45- });
46- });
47-
48- },{"./math":1}]},{},[2]);
49-
50- `
51-
5217exports [ 'sub import' ] = `
5318(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
5419"use strict";
0 commit comments