import log from 'why-is-node-running'; import { expect, expectAsync, tap } from '@pushrocks/tapbundle'; import * as smartntml from '../ts/index.js'; let testSmartntmlInstance: smartntml.Smartntml; tap.test('first test', async () => { testSmartntmlInstance = await smartntml.Smartntml.create(); }); tap.test('should render a string', async () => { const arrayArg = [1, 2, 3, 4, 5, 6]; const stringResult = await testSmartntmlInstance.renderTemplateResult(testSmartntmlInstance.html`