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:
@@ -2,8 +2,9 @@
|
||||
Integration tests for the transaction.js library.
|
||||
*/
|
||||
|
||||
const assert = require('chai').assert
|
||||
const BCHJS = require('../../src/bch-js')
|
||||
import chai from 'chai'
|
||||
import BCHJS from '../../src/bch-js.js'
|
||||
const { assert } = chai
|
||||
const bchjs = new BCHJS()
|
||||
|
||||
describe('#Transaction', () => {
|
||||
|
||||
Reference in New Issue
Block a user