UPDATE: Add node bindings
This commit is contained in:
committed by
Nicolás Hatcher Andrés
parent
ec4e7b1ca3
commit
5d429b1660
11
bindings/nodejs/__test__/index.spec.mjs
Normal file
11
bindings/nodejs/__test__/index.spec.mjs
Normal file
@@ -0,0 +1,11 @@
|
||||
import test from 'ava'
|
||||
|
||||
import { Model } from '../index.js';
|
||||
|
||||
test('sum from native', (t) => {
|
||||
const model = new Model("Workbook1", "en", "UTC");
|
||||
|
||||
model.setUserInput(0, 1, 1, "=1+1");
|
||||
t.is(model.getFormattedCellValue(0, 1, 1), '2');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user