1
0
mirror of https://github.com/robonen/tools.git synced 2026-03-20 19:04:46 +00:00

refactor(core/stdlib): update test descriptions and improve placeholder handling

This commit is contained in:
2025-05-20 19:20:26 +07:00
parent 049b5b351a
commit 6d68246d16
3 changed files with 38 additions and 30 deletions

View File

@@ -1,7 +1,7 @@
import { describe, expect, it } from 'vitest';
import { templateObject } from '.';
describe.todo('templateObject', () => {
describe.skip('templateObject', () => {
it('replace template placeholders with corresponding values from args', () => {
const template = 'Hello, {names.0}!';
const args = { names: ['John'] };