mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2026-03-13 15:21:15 +08:00
Comply with ESM syntax.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const { binaryExponentiation } = require('../BinaryExponentiationRecursive')
|
||||
import { binaryExponentiation } from '../BinaryExponentiationRecursive'
|
||||
|
||||
describe('BinaryExponentiationRecursive', () => {
|
||||
it('should calculate 2 to the power of 10 correctly', () => {
|
||||
|
||||
Reference in New Issue
Block a user