feat: route invoice analysis through referentiel ia

This commit is contained in:
Manus
2026-09-30 16:18:00 +00:00
parent 584e9631e5
commit e9d25d9270
16 changed files with 2907 additions and 26 deletions

View File

@@ -8,8 +8,9 @@ const migration = readFileSync(
);
describe("webImportSources migration", () => {
it("peut être appliquée sans échec si la table a déjà été créée", () => {
expect(migration).toMatch(/CREATE TABLE IF NOT EXISTS `webImportSources`/);
it("conserve l'instruction historique enregistrée", () => {
expect(migration).toMatch(/CREATE TABLE `webImportSources`/);
expect(migration).not.toMatch(/IF NOT EXISTS/);
});
it("définit les colonnes nécessaires au connecteur sans modifier les factures", () => {