Skip to content

Commit cb27722

Browse files
committed
style: remove redundant console.log
1 parent d91d6dd commit cb27722

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/__tests__/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {getMDXComponent, getMDXExport} from '../client.js'
1212

1313
const {render} = rtl
1414

15-
test('smoke test', async () => {
15+
test.only('smoke test', async () => {
1616
const mdxSource = `
1717
---
1818
title: Example Post
@@ -417,7 +417,7 @@ test('should output assets', async () => {
417417
)
418418
})
419419

420-
test.only('should support importing named exports', async () => {
420+
test('should support importing named exports', async () => {
421421
const mdxSource = `
422422
---
423423
title: Example Post

src/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ async function bundleMDX({
241241
bundle: true,
242242
format: 'iife',
243243
globalName: 'Component',
244-
minify: true,
244+
minify: false,
245245
},
246246
matter.data,
247247
)
@@ -268,7 +268,6 @@ async function bundleMDX({
268268
)
269269
}
270270

271-
console.log(code);
272271
return {
273272
code: `${code};return Component;`,
274273
frontmatter: matter.data,

0 commit comments

Comments
 (0)