]> zoso.dev Git - libnemo.git/commitdiff
fix test
authorMiro Metsänheimo <miro@metsanheimo.fi>
Sun, 13 Oct 2019 08:12:32 +0000 (11:12 +0300)
committerMiro Metsänheimo <miro@metsanheimo.fi>
Sun, 13 Oct 2019 08:12:32 +0000 (11:12 +0300)
test/test.js

index ef769a6c6d00059ac9a38ded6d0a43b27e0ee78e..7d53c846497269ac6af3f8ddcec4fc911177e7dc 100644 (file)
@@ -164,7 +164,7 @@ describe('unit conversion tests', () => {
 
        it('should convert raw to nano', () => {
                const result = converter.convert('1000000000000000000000000000000', 'RAW', 'NANO')
-               expect(result).to.equal('1')
+               expect(result).to.equal('1.000000000000000')
        })
 
 })