Files
IronCalc/bindings/nodejs/__test__/index.spec.mjs
2025-01-26 11:01:42 +01:00

12 lines
245 B
JavaScript

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');
});