fix(core): update

This commit is contained in:
2022-03-18 22:50:24 +01:00
parent 8b1769d65e
commit 1e6077ce34
25 changed files with 15372 additions and 7452 deletions

View File

@@ -0,0 +1,19 @@
import { tap, expect } from '@pushrocks/tapbundle';
import * as smartstring from '../ts/index.js';
tap.test('should normalize a string', async () => {
const testString = `
myawesome string;
is indented with two spaces
`;
const normalizedString = smartstring.normalize.standard(testString);
expect(normalizedString).toEqual(
`
myawesome string;
is indented with two spaces
`
);
});
tap.start();