]> juplo.de Git - demos/kafka/chat/commitdiff
chore: Moved generated pacts into a GIT-submodule
authorKai Moritz <kai@juplo.de>
Sat, 11 Oct 2025 13:24:14 +0000 (15:24 +0200)
committerKai Moritz <kai@juplo.de>
Sat, 11 Oct 2025 13:57:13 +0000 (15:57 +0200)
.gitmodules [new file with mode: 0644]
jest.config.ts
pacts [new submodule]
src/app/chatroom/chatroom.service.pact.spec.ts

diff --git a/.gitmodules b/.gitmodules
new file mode 100644 (file)
index 0000000..51c2592
--- /dev/null
@@ -0,0 +1,4 @@
+[submodule "pacts"]
+       path = pacts
+       url = ./
+       branch = pacts
index 227f916f3831527bb82af4ce847e16442d2149ff..b0f6ca5fefd1c69ab6f6451e22bc056252ce3e4f 100644 (file)
@@ -17,7 +17,7 @@ export default {
     },
     setupFilesAfterEnv: ['<rootDir>/setup-jest.ts'],
     watchPathIgnorePatterns: [
-        '<rootDir>/dist/',
+        '<rootDir>/pacts/',
     ],
     transform: {
         '^.+\\.(ts|js|html|svg)$': [
diff --git a/pacts b/pacts
new file mode 160000 (submodule)
index 0000000..e06ac38
--- /dev/null
+++ b/pacts
@@ -0,0 +1 @@
+Subproject commit e06ac38a3d3d7b78667a424ff03bfa810e6021f1
index 44a59481eb864c3ef22b8d0b32ac3e8e8e3fb467..d1080ecee64aa5cd33e1828ba6b19569426cf1d8 100644 (file)
@@ -13,7 +13,7 @@ describe('Pact between the ChatroomService and the backend', () => {
     consumer: 'frontend.ChatroomService',
     provider: 'backend',
     spec: SpecificationVersion.SPECIFICATION_VERSION_V4,
-    dir: 'dist/pacts',
+    dir: 'pacts',
     logLevel: 'debug',
   });