Skip to content

Commit cf79b25

Browse files
committed
Revert "Work around lazy loading of babel.transform"
This reverts commit 4b58869.
1 parent 4b58869 commit cf79b25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/caching-precompiler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function getBabelOptions() {
2121

2222
const babelCacheKeys = {};
2323

24-
sinon.spy((babel.transform, babel), 'transform');
24+
sinon.spy(babel, 'transform');
2525

2626
test('creation with new', t => {
2727
const tempDir = uniqueTempDir();

0 commit comments

Comments
 (0)