mirror of
https://github.com/Permissionless-Software-Foundation/bch-js.git
synced 2026-09-21 16:51:59 -07:00
feat(ESM): Converted code base to ESM format, away from CommonJS
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
const chai = require('chai')
|
||||
const assert = chai.assert
|
||||
const sinon = require('sinon')
|
||||
import chai from 'chai'
|
||||
import sinon from 'sinon'
|
||||
|
||||
const BCHJS = require('../../src/bch-js')
|
||||
import BCHJS from '../../src/bch-js.js'
|
||||
const assert = chai.assert
|
||||
const bchjs = new BCHJS()
|
||||
|
||||
describe('#ElectrumX', () => {
|
||||
|
||||
Reference in New Issue
Block a user