fix(build): Fix import paths, update CI workflows and upgrade dependencies for ESM compliance

This commit is contained in:
2025-05-12 13:37:34 +00:00
parent d647706881
commit 4fc2eb6ece
20 changed files with 9474 additions and 28835 deletions

View File

@@ -1,5 +1,5 @@
import { expect, tap } from '@pushrocks/tapbundle';
import * as smartfuzzy from '../ts/index';
import { expect, tap } from '@push.rocks/tapbundle';
import * as smartfuzzy from '../ts/index.js';
let testSmartfuzzy: smartfuzzy.Smartfuzzy;
@@ -10,7 +10,7 @@ tap.test('should create an instance of Smartfuzzy', async () => {
'Apple Inc.',
"Trader Joe's",
]);
expect(testSmartfuzzy).to.be.instanceof(smartfuzzy.Smartfuzzy);
expect(testSmartfuzzy).toBeInstanceOf(smartfuzzy.Smartfuzzy);
});
tap.test('should compute a score', async () => {