fix(core): update

This commit is contained in:
2024-03-01 23:34:43 +01:00
parent 2c29ae3bf0
commit 6f2cedc1dd
7 changed files with 437 additions and 400 deletions

View File

@ -2,12 +2,14 @@ import { tap, expect } from '@push.rocks/tapbundle';
import * as smartstring from '../ts/index.js';
tap.test('should normalize a string', async () => {
tap.test('should normalize a string', async (toolsArg) => {
const testString = `
myawesome string;
is indented with two spaces
`;
const normalizedString = smartstring.normalize.standard(testString);
console.log(normalizedString);
expect(normalizedString).toEqual(
`myawesome string;
is indented with two spaces