@geekmidas/testkit 0.0.11 → 0.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/README.md +1 -1
  2. package/dist/{Factory-B9LP1L18.d.cts → Factory-D7P3bKKb.d.mts} +2 -2
  3. package/dist/{Factory-DiZSNxC0.d.mts → Factory-pNV7ZQ7-.d.cts} +2 -2
  4. package/dist/Factory.d.cts +2 -2
  5. package/dist/Factory.d.mts +2 -2
  6. package/dist/{KyselyFactory-ELiHgHVv.mjs → KyselyFactory-BcYkC0t2.mjs} +2 -2
  7. package/dist/{KyselyFactory-B-zlLbov.d.mts → KyselyFactory-BrWADI77.d.mts} +3 -3
  8. package/dist/{KyselyFactory-Bdq1s1Go.cjs → KyselyFactory-Cf0o2YxO.cjs} +2 -2
  9. package/dist/{KyselyFactory-CrLWxJW4.d.cts → KyselyFactory-DM2dnUXU.d.cts} +3 -3
  10. package/dist/KyselyFactory.cjs +2 -2
  11. package/dist/KyselyFactory.d.cts +3 -3
  12. package/dist/KyselyFactory.d.mts +3 -3
  13. package/dist/KyselyFactory.mjs +2 -2
  14. package/dist/{ObjectionFactory-aqM0dDW7.mjs → ObjectionFactory-8hebmnai.mjs} +21 -5
  15. package/dist/{ObjectionFactory-CJCpvwts.d.mts → ObjectionFactory-B40NQWSe.d.mts} +2 -2
  16. package/dist/{ObjectionFactory-Wq80ypMM.cjs → ObjectionFactory-CDriunkS.cjs} +21 -5
  17. package/dist/{ObjectionFactory-vME-wNlq.d.cts → ObjectionFactory-D3l1VuyX.d.cts} +2 -2
  18. package/dist/ObjectionFactory.cjs +2 -2
  19. package/dist/ObjectionFactory.d.cts +3 -3
  20. package/dist/ObjectionFactory.d.mts +3 -3
  21. package/dist/ObjectionFactory.mjs +2 -2
  22. package/dist/__tests__/KyselyFactory.spec.cjs +3 -3
  23. package/dist/__tests__/KyselyFactory.spec.mjs +3 -3
  24. package/dist/__tests__/ObjectionFactory.spec.cjs +289 -451
  25. package/dist/__tests__/ObjectionFactory.spec.mjs +290 -452
  26. package/dist/__tests__/PostgresKyselyMigrator.spec.cjs +397 -0
  27. package/dist/__tests__/PostgresKyselyMigrator.spec.d.cts +1 -0
  28. package/dist/__tests__/PostgresKyselyMigrator.spec.d.mts +1 -0
  29. package/dist/__tests__/PostgresKyselyMigrator.spec.mjs +396 -0
  30. package/dist/__tests__/PostgresMigrator.spec.cjs +1 -1
  31. package/dist/__tests__/PostgresMigrator.spec.mjs +1 -1
  32. package/dist/__tests__/PostgresObjectionMigrator.spec.cjs +1 -1
  33. package/dist/__tests__/PostgresObjectionMigrator.spec.mjs +1 -1
  34. package/dist/__tests__/VitestObjectionTransactionIsolator.spec.cjs +4 -12
  35. package/dist/__tests__/VitestObjectionTransactionIsolator.spec.mjs +4 -12
  36. package/dist/__tests__/faker.spec.cjs +1 -1
  37. package/dist/__tests__/faker.spec.mjs +1 -1
  38. package/dist/__tests__/integration.spec.cjs +3 -3
  39. package/dist/__tests__/integration.spec.mjs +3 -3
  40. package/dist/{faker-SMN4ira4.cjs → faker-B14IEMIN.cjs} +41 -1
  41. package/dist/{faker-CxKkEeYi.mjs → faker-BGKYFoCT.mjs} +36 -2
  42. package/dist/{faker-DAiFK3T3.d.cts → faker-BSH1EMtg.d.cts} +13 -3
  43. package/dist/{faker-nN9Ki6fn.d.mts → faker-C-Iuk_R1.d.mts} +13 -3
  44. package/dist/faker.cjs +2 -1
  45. package/dist/faker.d.cts +2 -2
  46. package/dist/faker.d.mts +2 -2
  47. package/dist/faker.mjs +2 -2
  48. package/dist/{helpers-BEmjyUVE.mjs → helpers-B4TXg3Wp.mjs} +11 -36
  49. package/dist/{helpers-CNMBePuj.cjs → helpers-Bf0nXhbu.cjs} +10 -41
  50. package/dist/kysely.cjs +2 -2
  51. package/dist/kysely.d.cts +3 -3
  52. package/dist/kysely.d.mts +3 -3
  53. package/dist/kysely.mjs +2 -2
  54. package/dist/objection.cjs +2 -2
  55. package/dist/objection.d.cts +3 -3
  56. package/dist/objection.d.mts +3 -3
  57. package/dist/objection.mjs +2 -2
  58. package/package.json +2 -2
  59. package/src/Factory.ts +4 -1
  60. package/src/KyselyFactory.ts +6 -2
  61. package/src/ObjectionFactory.ts +31 -4
  62. package/src/__tests__/ObjectionFactory.spec.ts +423 -542
  63. package/src/__tests__/PostgresKyselyMigrator.spec.ts +690 -0
  64. package/src/__tests__/VitestObjectionTransactionIsolator.spec.ts +0 -8
  65. package/src/faker.ts +86 -0
  66. package/test/helpers.ts +13 -21
  67. package/dist/example.cjs +0 -22
  68. package/dist/example.d.cts +0 -26
  69. package/dist/example.d.mts +0 -26
  70. package/dist/example.mjs +0 -22
  71. package/src/example.ts +0 -45
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  > Type-safe testing utilities and database factories for modern TypeScript applications
4
4
 
5
5
  [![Node Version](https://img.shields.io/badge/node-%3E%3D22.0.0-brightgreen)](https://nodejs.org)
6
- [![TypeScript](https://img.shields.io/badge/TypeScript-5.7-blue)](https://www.typescriptlang.org)
6
+ [![TypeScript](https://img.shields.io/badge/TypeScript-5.8.2-blue)](https://www.typescriptlang.org)
7
7
  [![License](https://img.shields.io/badge/license-MIT-green)](LICENSE)
8
8
 
9
9
  ## 🚀 Overview
@@ -1,4 +1,4 @@
1
- import { FakerFactory } from "./faker-DAiFK3T3.cjs";
1
+ import { FakerFactory } from "./faker-C-Iuk_R1.mjs";
2
2
 
3
3
  //#region src/Factory.d.ts
4
4
 
@@ -59,7 +59,7 @@ declare abstract class Factory<Builders extends Record<string, any>, Seeds exten
59
59
  * @param builderName - The name of the builder to use
60
60
  * @param attrs - The attributes to insert
61
61
  */
62
- abstract insertMany<K extends keyof Builders>(count: number, builderName: K, attrs?: Parameters<Builders[K]>[0] | ((idx: number, faker: FakerFactory) => Parameters<Builders[K]>[0])): Promise<Awaited<ReturnType<Builders[K]>>[]>;
62
+ abstract insertMany<K extends keyof Builders>(count: number, builderName: K, attrs?: Parameters<Builders[K]>[0] | ((idx: number, faker: FakerFactory) => Promise<Parameters<Builders[K]>[0]>)): Promise<Awaited<ReturnType<Builders[K]>>[]>;
63
63
  /**
64
64
  * Seeds the database using a seed function.
65
65
  *
@@ -1,4 +1,4 @@
1
- import { FakerFactory } from "./faker-nN9Ki6fn.mjs";
1
+ import { FakerFactory } from "./faker-BSH1EMtg.cjs";
2
2
 
3
3
  //#region src/Factory.d.ts
4
4
 
@@ -59,7 +59,7 @@ declare abstract class Factory<Builders extends Record<string, any>, Seeds exten
59
59
  * @param builderName - The name of the builder to use
60
60
  * @param attrs - The attributes to insert
61
61
  */
62
- abstract insertMany<K extends keyof Builders>(count: number, builderName: K, attrs?: Parameters<Builders[K]>[0] | ((idx: number, faker: FakerFactory) => Parameters<Builders[K]>[0])): Promise<Awaited<ReturnType<Builders[K]>>[]>;
62
+ abstract insertMany<K extends keyof Builders>(count: number, builderName: K, attrs?: Parameters<Builders[K]>[0] | ((idx: number, faker: FakerFactory) => Promise<Parameters<Builders[K]>[0]>)): Promise<Awaited<ReturnType<Builders[K]>>[]>;
63
63
  /**
64
64
  * Seeds the database using a seed function.
65
65
  *
@@ -1,3 +1,3 @@
1
- import "./faker-DAiFK3T3.cjs";
2
- import { Factory, FactorySeed, MixedFactoryBuilder } from "./Factory-B9LP1L18.cjs";
1
+ import "./faker-BSH1EMtg.cjs";
2
+ import { Factory, FactorySeed, MixedFactoryBuilder } from "./Factory-pNV7ZQ7-.cjs";
3
3
  export { Factory, FactorySeed, MixedFactoryBuilder };
@@ -1,3 +1,3 @@
1
- import "./faker-nN9Ki6fn.mjs";
2
- import { Factory, FactorySeed, MixedFactoryBuilder } from "./Factory-DiZSNxC0.mjs";
1
+ import "./faker-C-Iuk_R1.mjs";
2
+ import { Factory, FactorySeed, MixedFactoryBuilder } from "./Factory-D7P3bKKb.mjs";
3
3
  export { Factory, FactorySeed, MixedFactoryBuilder };
@@ -1,5 +1,5 @@
1
1
  import { Factory } from "./Factory-z2m01hMj.mjs";
2
- import { faker } from "./faker-CxKkEeYi.mjs";
2
+ import { faker } from "./faker-BGKYFoCT.mjs";
3
3
 
4
4
  //#region src/KyselyFactory.ts
5
5
  /**
@@ -166,7 +166,7 @@ var KyselyFactory = class extends Factory {
166
166
  if (!(builderName in this.builders)) throw new Error(`Builder "${builderName}" is not registered in this factory. Make sure it is correct and registered in src/test/setup.ts`);
167
167
  const promises = [];
168
168
  for (let i = 0; i < count; i++) {
169
- const newAttrs = typeof attrs === "function" ? attrs(i, faker) : attrs;
169
+ const newAttrs = typeof attrs === "function" ? await attrs(i, faker) : attrs;
170
170
  promises.push(this.insert(builderName, newAttrs));
171
171
  }
172
172
  return Promise.all(promises);
@@ -1,5 +1,5 @@
1
- import { FakerFactory } from "./faker-nN9Ki6fn.mjs";
2
- import { Factory, FactorySeed } from "./Factory-DiZSNxC0.mjs";
1
+ import { FakerFactory } from "./faker-C-Iuk_R1.mjs";
2
+ import { Factory, FactorySeed } from "./Factory-D7P3bKKb.mjs";
3
3
  import { ControlledTransaction, Insertable, Kysely, Selectable } from "kysely";
4
4
 
5
5
  //#region src/KyselyFactory.d.ts
@@ -164,7 +164,7 @@ declare class KyselyFactory<DB, Builders extends Record<string, any>, Seeds exte
164
164
  * ```
165
165
  */
166
166
  insertMany<K extends keyof Builders>(count: number, builderName: K, attrs?: Parameters<Builders[K]>[0]): Promise<Awaited<ReturnType<Builders[K]>>[]>;
167
- insertMany<K extends keyof Builders>(count: number, builderName: K, attrs: (idx: number, faker: FakerFactory) => Parameters<Builders[K]>[0]): Promise<Awaited<ReturnType<Builders[K]>>[]>;
167
+ insertMany<K extends keyof Builders>(count: number, builderName: K, attrs: (idx: number, faker: FakerFactory) => Promise<Parameters<Builders[K]>[0]>): Promise<Awaited<ReturnType<Builders[K]>>[]>;
168
168
  /**
169
169
  * Executes a seed function to create complex test scenarios with multiple related records.
170
170
  * Seeds are useful for setting up complete test environments with realistic data relationships.
@@ -1,5 +1,5 @@
1
1
  const require_Factory = require('./Factory-WMhTNZ9S.cjs');
2
- const require_faker = require('./faker-SMN4ira4.cjs');
2
+ const require_faker = require('./faker-B14IEMIN.cjs');
3
3
 
4
4
  //#region src/KyselyFactory.ts
5
5
  /**
@@ -166,7 +166,7 @@ var KyselyFactory = class extends require_Factory.Factory {
166
166
  if (!(builderName in this.builders)) throw new Error(`Builder "${builderName}" is not registered in this factory. Make sure it is correct and registered in src/test/setup.ts`);
167
167
  const promises = [];
168
168
  for (let i = 0; i < count; i++) {
169
- const newAttrs = typeof attrs === "function" ? attrs(i, require_faker.faker) : attrs;
169
+ const newAttrs = typeof attrs === "function" ? await attrs(i, require_faker.faker) : attrs;
170
170
  promises.push(this.insert(builderName, newAttrs));
171
171
  }
172
172
  return Promise.all(promises);
@@ -1,5 +1,5 @@
1
- import { FakerFactory } from "./faker-DAiFK3T3.cjs";
2
- import { Factory, FactorySeed } from "./Factory-B9LP1L18.cjs";
1
+ import { FakerFactory } from "./faker-BSH1EMtg.cjs";
2
+ import { Factory, FactorySeed } from "./Factory-pNV7ZQ7-.cjs";
3
3
  import { ControlledTransaction, Insertable, Kysely, Selectable } from "kysely";
4
4
 
5
5
  //#region src/KyselyFactory.d.ts
@@ -164,7 +164,7 @@ declare class KyselyFactory<DB, Builders extends Record<string, any>, Seeds exte
164
164
  * ```
165
165
  */
166
166
  insertMany<K extends keyof Builders>(count: number, builderName: K, attrs?: Parameters<Builders[K]>[0]): Promise<Awaited<ReturnType<Builders[K]>>[]>;
167
- insertMany<K extends keyof Builders>(count: number, builderName: K, attrs: (idx: number, faker: FakerFactory) => Parameters<Builders[K]>[0]): Promise<Awaited<ReturnType<Builders[K]>>[]>;
167
+ insertMany<K extends keyof Builders>(count: number, builderName: K, attrs: (idx: number, faker: FakerFactory) => Promise<Parameters<Builders[K]>[0]>): Promise<Awaited<ReturnType<Builders[K]>>[]>;
168
168
  /**
169
169
  * Executes a seed function to create complex test scenarios with multiple related records.
170
170
  * Seeds are useful for setting up complete test environments with realistic data relationships.
@@ -1,5 +1,5 @@
1
1
  require('./Factory-WMhTNZ9S.cjs');
2
- require('./faker-SMN4ira4.cjs');
3
- const require_KyselyFactory = require('./KyselyFactory-Bdq1s1Go.cjs');
2
+ require('./faker-B14IEMIN.cjs');
3
+ const require_KyselyFactory = require('./KyselyFactory-Cf0o2YxO.cjs');
4
4
 
5
5
  exports.KyselyFactory = require_KyselyFactory.KyselyFactory;
@@ -1,4 +1,4 @@
1
- import "./faker-DAiFK3T3.cjs";
2
- import "./Factory-B9LP1L18.cjs";
3
- import { KyselyFactory } from "./KyselyFactory-CrLWxJW4.cjs";
1
+ import "./faker-BSH1EMtg.cjs";
2
+ import "./Factory-pNV7ZQ7-.cjs";
3
+ import { KyselyFactory } from "./KyselyFactory-DM2dnUXU.cjs";
4
4
  export { KyselyFactory };
@@ -1,4 +1,4 @@
1
- import "./faker-nN9Ki6fn.mjs";
2
- import "./Factory-DiZSNxC0.mjs";
3
- import { KyselyFactory } from "./KyselyFactory-B-zlLbov.mjs";
1
+ import "./faker-C-Iuk_R1.mjs";
2
+ import "./Factory-D7P3bKKb.mjs";
3
+ import { KyselyFactory } from "./KyselyFactory-BrWADI77.mjs";
4
4
  export { KyselyFactory };
@@ -1,5 +1,5 @@
1
1
  import "./Factory-z2m01hMj.mjs";
2
- import "./faker-CxKkEeYi.mjs";
3
- import { KyselyFactory } from "./KyselyFactory-ELiHgHVv.mjs";
2
+ import "./faker-BGKYFoCT.mjs";
3
+ import { KyselyFactory } from "./KyselyFactory-BcYkC0t2.mjs";
4
4
 
5
5
  export { KyselyFactory };
@@ -1,5 +1,5 @@
1
1
  import { Factory } from "./Factory-z2m01hMj.mjs";
2
- import { faker } from "./faker-CxKkEeYi.mjs";
2
+ import { faker } from "./faker-BGKYFoCT.mjs";
3
3
 
4
4
  //#region src/ObjectionFactory.ts
5
5
  /**
@@ -110,7 +110,11 @@ var ObjectionFactory = class extends Factory {
110
110
  }
111
111
  const model = ModelClass.fromJson(data);
112
112
  if (autoInsert !== false) {
113
- const result = await model.$query(db).insertGraph(model).execute();
113
+ const insertData = Object.entries(model).reduce((acc, [key, value]) => {
114
+ if (value !== void 0 && key !== "id") acc[key] = value;
115
+ return acc;
116
+ }, {});
117
+ const result = await ModelClass.query(db).insert(insertData);
114
118
  return result;
115
119
  } else return model;
116
120
  };
@@ -162,16 +166,28 @@ var ObjectionFactory = class extends Factory {
162
166
  async insert(builderName, attrs) {
163
167
  if (!(builderName in this.builders)) throw new Error(`Factory "${builderName}" does not exist. Make sure it is correct and registered in src/test/setup.ts`);
164
168
  const result = await this.builders[builderName](attrs || {}, this, this.db, faker);
165
- if (result && typeof result.$query === "function") return await result.$query(this.db).insertGraph(result).execute();
169
+ if (result && typeof result.$query === "function") {
170
+ const insertData = Object.entries(result).reduce((acc, [key, value]) => {
171
+ if (value !== void 0 && key !== "id") acc[key] = value;
172
+ return acc;
173
+ }, {});
174
+ return await result.constructor.query(this.db).insert(insertData);
175
+ }
166
176
  return result;
167
177
  }
168
178
  async insertMany(count, builderName, attrs) {
169
179
  if (!(builderName in this.builders)) throw new Error(`Builder "${builderName}" is not registered in this factory. Make sure it is correct and registered in src/test/setup.ts`);
170
180
  const records = [];
171
181
  for (let i = 0; i < count; i++) {
172
- const newAttrs = typeof attrs === "function" ? attrs(i, faker) : attrs;
182
+ const newAttrs = typeof attrs === "function" ? await attrs(i, faker) : attrs;
173
183
  records.push(this.builders[builderName](newAttrs, this, this.db, faker).then((record) => {
174
- if (record && typeof record.$query === "function") return record.$query(this.db).insertGraph(record).execute();
184
+ if (record && typeof record.$query === "function") {
185
+ const insertData = Object.entries(record).reduce((acc, [key, value]) => {
186
+ if (value !== void 0 && key !== "id") acc[key] = value;
187
+ return acc;
188
+ }, {});
189
+ return record.constructor.query(this.db).insert(insertData);
190
+ }
175
191
  return record;
176
192
  }));
177
193
  }
@@ -1,5 +1,5 @@
1
- import { FakerFactory } from "./faker-nN9Ki6fn.mjs";
2
- import { Factory, FactorySeed } from "./Factory-DiZSNxC0.mjs";
1
+ import { FakerFactory } from "./faker-C-Iuk_R1.mjs";
2
+ import { Factory, FactorySeed } from "./Factory-D7P3bKKb.mjs";
3
3
  import { Knex } from "knex";
4
4
  import { Model } from "objection";
5
5
 
@@ -1,5 +1,5 @@
1
1
  const require_Factory = require('./Factory-WMhTNZ9S.cjs');
2
- const require_faker = require('./faker-SMN4ira4.cjs');
2
+ const require_faker = require('./faker-B14IEMIN.cjs');
3
3
 
4
4
  //#region src/ObjectionFactory.ts
5
5
  /**
@@ -110,7 +110,11 @@ var ObjectionFactory = class extends require_Factory.Factory {
110
110
  }
111
111
  const model = ModelClass.fromJson(data);
112
112
  if (autoInsert !== false) {
113
- const result = await model.$query(db).insertGraph(model).execute();
113
+ const insertData = Object.entries(model).reduce((acc, [key, value]) => {
114
+ if (value !== void 0 && key !== "id") acc[key] = value;
115
+ return acc;
116
+ }, {});
117
+ const result = await ModelClass.query(db).insert(insertData);
114
118
  return result;
115
119
  } else return model;
116
120
  };
@@ -162,16 +166,28 @@ var ObjectionFactory = class extends require_Factory.Factory {
162
166
  async insert(builderName, attrs) {
163
167
  if (!(builderName in this.builders)) throw new Error(`Factory "${builderName}" does not exist. Make sure it is correct and registered in src/test/setup.ts`);
164
168
  const result = await this.builders[builderName](attrs || {}, this, this.db, require_faker.faker);
165
- if (result && typeof result.$query === "function") return await result.$query(this.db).insertGraph(result).execute();
169
+ if (result && typeof result.$query === "function") {
170
+ const insertData = Object.entries(result).reduce((acc, [key, value]) => {
171
+ if (value !== void 0 && key !== "id") acc[key] = value;
172
+ return acc;
173
+ }, {});
174
+ return await result.constructor.query(this.db).insert(insertData);
175
+ }
166
176
  return result;
167
177
  }
168
178
  async insertMany(count, builderName, attrs) {
169
179
  if (!(builderName in this.builders)) throw new Error(`Builder "${builderName}" is not registered in this factory. Make sure it is correct and registered in src/test/setup.ts`);
170
180
  const records = [];
171
181
  for (let i = 0; i < count; i++) {
172
- const newAttrs = typeof attrs === "function" ? attrs(i, require_faker.faker) : attrs;
182
+ const newAttrs = typeof attrs === "function" ? await attrs(i, require_faker.faker) : attrs;
173
183
  records.push(this.builders[builderName](newAttrs, this, this.db, require_faker.faker).then((record) => {
174
- if (record && typeof record.$query === "function") return record.$query(this.db).insertGraph(record).execute();
184
+ if (record && typeof record.$query === "function") {
185
+ const insertData = Object.entries(record).reduce((acc, [key, value]) => {
186
+ if (value !== void 0 && key !== "id") acc[key] = value;
187
+ return acc;
188
+ }, {});
189
+ return record.constructor.query(this.db).insert(insertData);
190
+ }
175
191
  return record;
176
192
  }));
177
193
  }
@@ -1,5 +1,5 @@
1
- import { FakerFactory } from "./faker-DAiFK3T3.cjs";
2
- import { Factory, FactorySeed } from "./Factory-B9LP1L18.cjs";
1
+ import { FakerFactory } from "./faker-BSH1EMtg.cjs";
2
+ import { Factory, FactorySeed } from "./Factory-pNV7ZQ7-.cjs";
3
3
  import { Knex } from "knex";
4
4
  import { Model } from "objection";
5
5
 
@@ -1,5 +1,5 @@
1
1
  require('./Factory-WMhTNZ9S.cjs');
2
- require('./faker-SMN4ira4.cjs');
3
- const require_ObjectionFactory = require('./ObjectionFactory-Wq80ypMM.cjs');
2
+ require('./faker-B14IEMIN.cjs');
3
+ const require_ObjectionFactory = require('./ObjectionFactory-CDriunkS.cjs');
4
4
 
5
5
  exports.ObjectionFactory = require_ObjectionFactory.ObjectionFactory;
@@ -1,4 +1,4 @@
1
- import "./faker-DAiFK3T3.cjs";
2
- import "./Factory-B9LP1L18.cjs";
3
- import { ObjectionFactory } from "./ObjectionFactory-vME-wNlq.cjs";
1
+ import "./faker-BSH1EMtg.cjs";
2
+ import "./Factory-pNV7ZQ7-.cjs";
3
+ import { ObjectionFactory } from "./ObjectionFactory-D3l1VuyX.cjs";
4
4
  export { ObjectionFactory };
@@ -1,4 +1,4 @@
1
- import "./faker-nN9Ki6fn.mjs";
2
- import "./Factory-DiZSNxC0.mjs";
3
- import { ObjectionFactory } from "./ObjectionFactory-CJCpvwts.mjs";
1
+ import "./faker-C-Iuk_R1.mjs";
2
+ import "./Factory-D7P3bKKb.mjs";
3
+ import { ObjectionFactory } from "./ObjectionFactory-B40NQWSe.mjs";
4
4
  export { ObjectionFactory };
@@ -1,5 +1,5 @@
1
1
  import "./Factory-z2m01hMj.mjs";
2
- import "./faker-CxKkEeYi.mjs";
3
- import { ObjectionFactory } from "./ObjectionFactory-aqM0dDW7.mjs";
2
+ import "./faker-BGKYFoCT.mjs";
3
+ import { ObjectionFactory } from "./ObjectionFactory-8hebmnai.mjs";
4
4
 
5
5
  export { ObjectionFactory };
@@ -1,14 +1,14 @@
1
1
  const require_chunk = require('../chunk-CUT6urMc.cjs');
2
2
  require('../Factory-WMhTNZ9S.cjs');
3
- require('../faker-SMN4ira4.cjs');
4
- const require_KyselyFactory = require('../KyselyFactory-Bdq1s1Go.cjs');
3
+ require('../faker-B14IEMIN.cjs');
4
+ const require_KyselyFactory = require('../KyselyFactory-Cf0o2YxO.cjs');
5
5
  require('../PostgresMigrator-DFcNdCvD.cjs');
6
6
  require('../PostgresKyselyMigrator-CfytARcA.cjs');
7
7
  require('../VitestTransactionIsolator-CruLTRRi.cjs');
8
8
  require('../VitestKyselyTransactionIsolator-CIlpIO78.cjs');
9
9
  const require_helpers = require('../helpers-nEUtQ7eo.cjs');
10
10
  const require_kysely = require('../kysely-CBfCXxUn.cjs');
11
- const require_helpers$1 = require('../helpers-CNMBePuj.cjs');
11
+ const require_helpers$1 = require('../helpers-Bf0nXhbu.cjs');
12
12
  const pg = require_chunk.__toESM(require("pg"));
13
13
  const vitest = require_chunk.__toESM(require("vitest"));
14
14
 
@@ -1,13 +1,13 @@
1
1
  import "../Factory-z2m01hMj.mjs";
2
- import "../faker-CxKkEeYi.mjs";
3
- import { KyselyFactory } from "../KyselyFactory-ELiHgHVv.mjs";
2
+ import "../faker-BGKYFoCT.mjs";
3
+ import { KyselyFactory } from "../KyselyFactory-BcYkC0t2.mjs";
4
4
  import "../PostgresMigrator-DxPC_gGu.mjs";
5
5
  import "../PostgresKyselyMigrator-Bdhl251C.mjs";
6
6
  import "../VitestTransactionIsolator-BWwK-ca6.mjs";
7
7
  import "../VitestKyselyTransactionIsolator-BKGT9nEG.mjs";
8
8
  import { createKyselyDb } from "../helpers-BuPmgzyQ.mjs";
9
9
  import { wrapVitestKyselyTransaction } from "../kysely-Cx_1pZYc.mjs";
10
- import { TEST_DATABASE_CONFIG, createTestTables } from "../helpers-BEmjyUVE.mjs";
10
+ import { TEST_DATABASE_CONFIG, createTestTables } from "../helpers-B4TXg3Wp.mjs";
11
11
  import pg from "pg";
12
12
  import { describe, expect, it } from "vitest";
13
13