Skip to content

Commit c66afa9

Browse files
committed
Fix inspector import
1 parent af7c2cf commit c66afa9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/test.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
//var inspector = require('inspector'); inspector.open(9330, null, true); debugger
21
import * as msgpackr from '../index.js'
32
import chai from 'chai'
4-
//import('./test.mjs')
3+
//import inspector from 'inspector'; inspector.open(9330, null, true); debugger
54
import sampleData from './example4.json'
65
function tryRequire(module) {
76
try {
@@ -20,7 +19,6 @@ var pack = msgpackr.pack
2019
var DECIMAL_FIT = msgpackr.FLOAT32_OPTIONS.DECIMAL_FIT
2120

2221
var addExtension = msgpackr.addExtension
23-
2422
var zlib = tryRequire('zlib')
2523
var deflateSync = zlib.deflateSync
2624
var inflateSync = zlib.inflateSync

0 commit comments

Comments
 (0)