Skip to content

Commit 1a27617

Browse files
Seulgi Kimmergify[bot]
authored andcommitted
Use import instead of require
1 parent b8c73e2 commit 1a27617

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/src/helper/mock/blockSyncMessage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
// along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
import { H256 } from "codechain-primitives";
1717
import { U256 } from "codechain-primitives";
18+
import * as EventEmitter from "events";
1819
import { compressSync, uncompressSync } from "snappy";
1920

2021
const RLP = require("rlp");
21-
const EventEmitter = require("events");
2222

2323
class EVENT extends EventEmitter {}
2424
export const Emitter = new EVENT();

0 commit comments

Comments
 (0)