RomanToDecimal : Fix import (typo).

This commit is contained in:
Eric Lavault
2021-10-11 16:33:44 +02:00
parent e3a10eec6f
commit 274686a5fe
2 changed files with 2 additions and 4 deletions

View File

@ -8,7 +8,7 @@ const values = {
M: 1000 M: 1000
} }
function romanToDecimal (romanNumber) { export function romanToDecimal (romanNumber) {
let prev = ' ' let prev = ' '
let sum = 0 let sum = 0
@ -32,5 +32,3 @@ function romanToDecimal (romanNumber) {
} }
return sum return sum
} }
export { romanToDecimal }

View File

@ -1,4 +1,4 @@
import { romanToDecimal } from '../romanToDecimal' import { romanToDecimal } from '../RomanToDecimal'
describe('romanToDecimal', () => { describe('romanToDecimal', () => {
it('XXIIVV', () => { it('XXIIVV', () => {