Skip to content

Commit c77baef

Browse files
committed
Update tests
1 parent e3b4b0c commit c77baef

File tree

27 files changed

+292
-72
lines changed

27 files changed

+292
-72
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
description: 'creates the correct exports from CJS module re-exporting a transpiled ES module',
3+
};
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Object.defineProperty(exports, '__esModule', { value: true });
2+
exports.default = 'default';
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import dep from './proxy';
2+
3+
t.is(dep, 'default');
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('./dep');
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
description: 'creates the correct exports from CJS module re-exporting a transpiled ES module',
3+
};
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Object.defineProperty(exports, '__esModule', { value: true });
2+
exports.default = 'default';
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import * as entry from './proxy';
2+
3+
t.deepEqual(entry, { default: 'default' });
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('./entry');
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
description: 'creates the correct exports from CJS module re-exporting a transpiled ES module',
3+
};
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Object.defineProperty(exports, '__esModule', { value: true });
2+
exports.default = 'default';
3+
exports.named = 'named';

0 commit comments

Comments
 (0)