{"_id":"@blueground/jest-testcontainers","_rev":"10-d532fbd64ad0500ab561f4029aedb606","name":"@blueground/jest-testcontainers","dist-tags":{"latest":"3.0.6"},"versions":{"3.0.1":{"name":"@blueground/jest-testcontainers","version":"3.0.1","keywords":["jest","testcontainers","docker","integration","test"],"author":{"name":"Blueground LTD"},"license":"MIT","_id":"@blueground/jest-testcontainers@3.0.1","maintainers":[{"name":"pavlosptbg","email":"p.tournaris@theblueground.com"},{"name":"stratosp","email":"stratosp@theblueground.com"}],"homepage":"https://github.com/bluegroundltd/jest-testcontainers#readme","bugs":{"url":"https://github.com/bluegroundltd/jest-testcontainers/issues"},"dist":{"shasum":"fc2c8bae32c2e215c991c2fef5974a937b44825e","tarball":"https://registry.npmjs.org/@blueground/jest-testcontainers/-/jest-testcontainers-3.0.1.tgz","fileCount":17,"integrity":"sha512-Je6L1sfW7wNtmmvyQkpVwpLiJgHSD8xNiWYiI8V0Qme3mlGGXp0ombtBpYDJ9c5xSvN3XRW6XdVqHR8EtSM/eQ==","signatures":[{"sig":"MEUCIQCttN8buKBBq7dMvjYngicwj79Zdo1XDqggE1Vfe164rwIge123766s/9h76xAnaADEbK+/GK6Cary+wEKwx2GvG7Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28858,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbRC7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoD/A/9Ex2uzcgNHz6zYsSzQgNpf0wJU8o9jr41FsgbVr0+qjpKqxD8\r\n7ZSO9AuleEwxCJjzjdEiM4Jg8dG+SmPAvuORP/SgmvLz1yel/feMxOKZFFyG\r\nvvACSM9S6TcLLrSdrvSSl86EhJrD9w8UqoE3AtFAVHQSD28dJ7LILi91yOVh\r\nee4dDAEt94d8sfRh2/fLkoQIIix/sZqTlGCc1gBWT7y/tfQX46JEcRgtB026\r\nbFn2kT12f2Lxmi6/NQB5FHJ/1geJ2n0uy9yD76TZRVGwCNzEVjpyykmzyZlr\r\n2f7CT9q7/Fd/QHnFGlS/gRygnaLPZjimG2CCYWmN2IjeOpt3QmXNRhP6KFPJ\r\nZyhV/5LX6Fjkrtc9a57KYVT3slAlxCCvGzLI0D6H3a0d0pmpVNzinBCkrfKE\r\nV4/RpFEg2zotDrgH4To8QDcMoZbjuZ1ylRybvNWLAmaQIeqyRsbfbh+b+DhM\r\no0ZKj7fvdrtZ5d2WtOpMjsEftwpmnSSHhGZijVNehOYmJgpusMPPH1MjO5rn\r\nBkjC9J8Fqp1J+f5L4fCgw7VacvXG81hi8Gj8utiJGLmOdyRmuKl0r4m9Vc1D\r\nXmV7gWJ7pi9BV637gk85P6EyfUzqrV+RnvizWbFppxeoYdyNI68DrJP4patp\r\nD0dsk5yBlStGNl2U5PBwd2G9W8/ggs38i3o=\r\n=fiTI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index","husky":{"hooks":{"pre-commit":"lint-staged && npm test"}},"types":"dist/index","gitHead":"d28e19171b66b5512a8bde2b7b82b812e1bf15fe","scripts":{"lint":"tslint --fix src/**/*.ts","test":"jest","build":"npm run remove:dist && tsc","prettier":"prettier --write src/**/*.ts","style:fix":"npm run lint && npm run prettier","prepublish":"npm run build","remove:dist":"rm -rf dist","example:redis":"cd ./examples/01-basic-redis && jest","example:docker-compose":"cd ./examples/03-docker-compose && jest","example:redis-typescript":"cd ./examples/02-typescript-redis && jest"},"_npmUser":{"name":"pavlosptbg","email":"p.tournaris@theblueground.com"},"repository":{"url":"git+https://github.com/Trendyol/jest-testcontainers.git","type":"git"},"_npmVersion":"8.19.2","description":"Jest preset for starting docker containers that stay up whilist your tests run.","directories":{"example":"examples"},"lint-staged":{"*.ts":["tslint --fix","prettier --write"]},"_nodeVersion":"16.18.0","dependencies":{"cwd":"^0.10.0","testcontainers":"9.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","husky":"^4.3.8","redis":"^3.1.2","tslint":"^6.1.3","ts-jest":"^27.1.5","ts-node":"^10.9.1","prettier":"^1.19.1","@types/cwd":"^0.10.0","typescript":"^4.8.4","@types/jest":"^27.0.3","@types/node":"^17.0.5","lint-staged":"^10.2.2","@types/redis":"^2.8.20","@types/dockerode":"^3.3.0","tslint-config-prettier":"^1.18.0"},"peerDependencies":{"jest-environment-node":">=25"},"_npmOperationalInternal":{"tmp":"tmp/jest-testcontainers_3.0.1_1668092091570_0.7475658488212065","host":"s3://npm-registry-packages"}},"3.0.2":{"name":"@blueground/jest-testcontainers","version":"3.0.2","keywords":["jest","testcontainers","docker","integration","test"],"author":{"name":"Blueground LTD"},"license":"MIT","_id":"@blueground/jest-testcontainers@3.0.2","maintainers":[{"name":"pavlosptbg","email":"p.tournaris@theblueground.com"},{"name":"stratosp","email":"stratosp@theblueground.com"}],"homepage":"https://github.com/bluegroundltd/jest-testcontainers#readme","bugs":{"url":"https://github.com/bluegroundltd/jest-testcontainers/issues"},"dist":{"shasum":"7001b5cbd2a9d2a91b1303cb3c6169c8ff9724ca","tarball":"https://registry.npmjs.org/@blueground/jest-testcontainers/-/jest-testcontainers-3.0.2.tgz","fileCount":17,"integrity":"sha512-HmGq1l4T7MJ03V0HA2sFJrPTEPppibFa3zZ0RZrqCBc4HKvxDcNohmdJenQM9e5MlSVfY9o+dDclVSGfqiV7+A==","signatures":[{"sig":"MEQCID1CBs708D98kAgiT7ZND3q2fJrHGODXmyDfJYsjUcrbAiBAyoie67vGPfw6JokIEyC/5mOiuvdzY8XtgF+UiS4T4A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28857,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbRPFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrpSQ//Zk1HOoj27ppkzk0Gh4UNcooNcNoFNIazRqE3m9HZgvGSGCQk\r\nu0wQDB938aYLGffUno2xFJXzmFMS8FzIMo5MAFJ5AKEZa/VBXsO/n5WV0osn\r\nJxxyeSbYAAm11W1jAQ4mFBWerQ9TATRdJpSpHchRqo5Aldfk8bR+a9n16VP/\r\n7uq/HedEBMDvOM3nCpgGtDEELdgZuHAIago+4bUVTQljs2VjKe8wmyhQN/e1\r\nig0B6OEUYS7GZFmr4jAM42GevpwoCMOQrFId/aqV1FHGOfYo9j6CYZrtssdR\r\neiUs4NQEbunF+II14gUfNOkC07ItoUYTL9NfVv/62jPQrdJ3Xy0X+6g3Jm4l\r\nCM5751BtX+UxBbA5p06tPB+ykoRmQkryV4TaPEPHXAVFiv06BaIMWAkdgFO2\r\nOYiy9ijZ69BR5rmkQqKcjRdpz3A3rqHGbs7XIpdAd10V5NEZu913mu9wwp/9\r\n5zS63pjpoIGYyNw4YomSpMQr0LJ3OUL7F0f+w13IGC9IL0zl6gcl2CuP5E3h\r\nlc2ZkBQLvnPJkSQN0dz6YkfNiDqrKAfdR1Hhx7f7IjSDLz90dIKJtxsgsxM9\r\nAMhn4ej8KbrDFzoUDvNr/mlTBesTsEzjR+KfoSs4K+Ya00sRpNZChS9PSdjH\r\nvYgtKv6moA2AZXUtRThCFQ+tg4omldaxO/g=\r\n=EMHU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index","husky":{"hooks":{"pre-commit":"lint-staged && npm test"}},"types":"dist/index","gitHead":"9130df03ce71f239d2a4261d4ebd838706d17603","scripts":{"lint":"tslint --fix src/**/*.ts","test":"jest","build":"npm run remove:dist && tsc","prettier":"prettier --write src/**/*.ts","style:fix":"npm run lint && npm run prettier","prepublish":"npm run build","remove:dist":"rm -rf dist","example:redis":"cd ./examples/01-basic-redis && jest","example:docker-compose":"cd ./examples/03-docker-compose && jest","example:redis-typescript":"cd ./examples/02-typescript-redis && jest"},"_npmUser":{"name":"pavlosptbg","email":"p.tournaris@theblueground.com"},"repository":{"url":"git+https://github.com/Trendyol/jest-testcontainers.git","type":"git"},"_npmVersion":"8.19.2","description":"Jest preset for starting docker containers that stay up whilist your tests run.","directories":{"example":"examples"},"lint-staged":{"*.ts":["tslint --fix","prettier --write"]},"_nodeVersion":"16.18.0","dependencies":{"cwd":"^0.10.0","testcontainers":"9.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","husky":"^4.3.8","redis":"^3.1.2","tslint":"^6.1.3","ts-jest":"^27.1.5","ts-node":"^10.9.1","prettier":"^1.19.1","@types/cwd":"^0.10.0","typescript":"^4.8.4","@types/jest":"^27.0.3","@types/node":"^17.0.5","lint-staged":"^10.2.2","@types/redis":"^2.8.20","@types/dockerode":"^3.3.0","tslint-config-prettier":"^1.18.0"},"peerDependencies":{"jest-environment-node":">=25"},"_npmOperationalInternal":{"tmp":"tmp/jest-testcontainers_3.0.2_1668092869014_0.9297592844068123","host":"s3://npm-registry-packages"}},"3.0.3":{"name":"@blueground/jest-testcontainers","version":"3.0.3","keywords":["jest","testcontainers","docker","integration","test"],"author":{"name":"Blueground LTD"},"license":"MIT","_id":"@blueground/jest-testcontainers@3.0.3","maintainers":[{"name":"pavlosptbg","email":"p.tournaris@theblueground.com"},{"name":"stratosp","email":"stratosp@theblueground.com"}],"homepage":"https://github.com/bluegroundltd/jest-testcontainers#readme","bugs":{"url":"https://github.com/bluegroundltd/jest-testcontainers/issues"},"dist":{"shasum":"13d131b8197fa3cd4658b37c8a98f5319e6b4a56","tarball":"https://registry.npmjs.org/@blueground/jest-testcontainers/-/jest-testcontainers-3.0.3.tgz","fileCount":17,"integrity":"sha512-fXKqt5zhMOI6iaH5hRq0VYKKchOwTJB7mbul+kuhdf/N6ro4GRB0HkvA31hpbB3Tqjsu3YstqBjRSBp2p9z5Uw==","signatures":[{"sig":"MEUCIQDS/7oyt8SCV62b4nKFAB5kQXBQaGd8v8gbNMGlzvJsGQIgKZxNUMXk9aiTl7JZs71I9iRru2q9ueLofpoqSgIzVDE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29132,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbga6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpguA/+OqLCDCxFZnt5RzNS6X7R/Wj4Lx1RH9FIWRxVoyl4egCDUHQB\r\ni4dM0l+OV/RNAaLJ/8FZtOMQRM+XUV2Jfh/+4Biv7/0yqxJo9YBa/v0pT2Cl\r\na4vFJOBMQLgjxMKjRdto6L7toafFNz1rDz5VYGwB1rz4FjVpsSbKp9AEa6fS\r\n9DaN2LGHKpnfRXwmpbB27NmRUZlXP53tw+0+j6L3G5DkMJMCXwtAypVH0xRW\r\nrRCU0pR8Q/ft3+0/MDHhQzZzolbexTQy0dA9LeC6SUbpT7U/eagTxU6zEsgI\r\nDfvzR4ISoEpiRU4kLgLt1xNzvXCjHvR5pUq67l6Yz0SpzDD1oLxKJlfVqRnb\r\n4XfbgrvF+MdtPLTzzFProz+n76uCYTsn6uIilY5WKzsvIlH9ft6eIz7KlrGI\r\nVGVcyQUcy/jVcaifuxGijk69JGhvLkNF4fwZq/NtQS46J2KII/iziricrOdb\r\nNhyq3avAxPqazsTAUuV9AFbn/cgfhMxhVY19nlgg/st4lkj0EYmope/9tODz\r\nk9+v+qFWuMHQi8ZHj0vi/q9sCXYML2kl89xnUysdiVId+6h+T3HDnwAtvUbF\r\nV2XOwMb90wMgs1kVBDCQnG9eVO0c9vbjJEC+SJfBVtaQ5sZ/b7hFhXsmfz3f\r\nIeEar/1dCsBXnMFNJq7idifJIYq7uAlN4Wo=\r\n=pytF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index","husky":{"hooks":{"pre-commit":"lint-staged && npm test"}},"types":"dist/index","gitHead":"26e3c8b1474f0219333f38fcc66bf490d6773883","scripts":{"lint":"tslint --fix src/**/*.ts","test":"jest","build":"npm run remove:dist && tsc","prettier":"prettier --write src/**/*.ts","style:fix":"npm run lint && npm run prettier","prepublish":"npm run build","remove:dist":"rm -rf dist","example:redis":"cd ./examples/01-basic-redis && jest","example:docker-compose":"cd ./examples/03-docker-compose && jest","example:redis-typescript":"cd ./examples/02-typescript-redis && jest"},"_npmUser":{"name":"pavlosptbg","email":"p.tournaris@theblueground.com"},"repository":{"url":"git+https://github.com/bluegroundltd/jest-testcontainers.git","type":"git"},"_npmVersion":"8.19.2","description":"Jest preset for starting docker containers that stay up whilist your tests run.","directories":{"example":"examples"},"lint-staged":{"*.ts":["tslint --fix","prettier --write"]},"_nodeVersion":"16.18.0","dependencies":{"cwd":"^0.10.0","testcontainers":"9.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","husky":"^4.3.8","redis":"^3.1.2","tslint":"^6.1.3","ts-jest":"^27.1.5","ts-node":"^10.9.1","prettier":"^1.19.1","@types/cwd":"^0.10.0","typescript":"^4.8.4","@types/jest":"^27.0.3","@types/node":"^17.0.5","lint-staged":"^10.2.2","@types/redis":"^2.8.20","@types/dockerode":"^3.3.0","tslint-config-prettier":"^1.18.0"},"peerDependencies":{"jest-environment-node":">=25"},"_npmOperationalInternal":{"tmp":"tmp/jest-testcontainers_3.0.3_1668155065973_0.49267383278744226","host":"s3://npm-registry-packages"}},"3.0.4":{"name":"@blueground/jest-testcontainers","version":"3.0.4","keywords":["jest","testcontainers","docker","integration","test"],"author":{"name":"Blueground LTD"},"license":"MIT","_id":"@blueground/jest-testcontainers@3.0.4","maintainers":[{"name":"pavlosptbg","email":"p.tournaris@theblueground.com"},{"name":"stratosp","email":"stratosp@theblueground.com"}],"homepage":"https://github.com/bluegroundltd/jest-testcontainers#readme","bugs":{"url":"https://github.com/bluegroundltd/jest-testcontainers/issues"},"dist":{"shasum":"eb027cff60044c11b484f493170edf8b42f4011c","tarball":"https://registry.npmjs.org/@blueground/jest-testcontainers/-/jest-testcontainers-3.0.4.tgz","fileCount":17,"integrity":"sha512-Z9pWP/U6FKzqptsOWauDn1fIB6ZiBePr7iFE2SFlqzmoDHaaCIdJjSaXUrdgdLezgT3Zqlz/2o0utKDniy2QvQ==","signatures":[{"sig":"MEYCIQDgVebznS16CgSgkhWzEMkWI/NMAPrMp0/vMZTjwSUDNAIhAKOA4bMXep4Z4I7YREh6pktNQSv4i7C6Y5YpjYQgT1iR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29081},"main":"dist/index","husky":{"hooks":{"pre-commit":"lint-staged && npm test"}},"types":"dist/index","gitHead":"4637860d5ead6f902a7d72fa5e1879188018c0ea","scripts":{"lint":"tslint --fix src/**/*.ts","test":"jest","build":"npm run remove:dist && tsc","prettier":"prettier --write src/**/*.ts","style:fix":"npm run lint && npm run prettier","prepublish":"npm run build","remove:dist":"rm -rf dist","example:redis":"cd ./examples/01-basic-redis && jest","example:docker-compose":"cd ./examples/03-docker-compose && jest","example:redis-typescript":"cd ./examples/02-typescript-redis && jest"},"_npmUser":{"name":"pavlosptbg","email":"p.tournaris@theblueground.com"},"repository":{"url":"git+https://github.com/bluegroundltd/jest-testcontainers.git","type":"git"},"_npmVersion":"8.19.4","description":"Jest preset for starting docker containers that stay up whilist your tests run.","directories":{"example":"examples"},"lint-staged":{"*.ts":["tslint --fix","prettier --write"]},"_nodeVersion":"16.20.2","dependencies":{"cwd":"^0.10.0","testcontainers":"^10.3.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","husky":"^4.3.8","redis":"^3.1.2","tslint":"^6.1.3","ts-jest":"^27.1.5","ts-node":"^10.9.1","prettier":"^1.19.1","@types/cwd":"^0.10.0","typescript":"^4.8.4","@types/jest":"^27.0.3","@types/node":"^17.0.5","lint-staged":"^10.2.2","@types/redis":"^2.8.20","@types/dockerode":"^3.3.0","tslint-config-prettier":"^1.18.0"},"peerDependencies":{"jest-environment-node":">=25"},"_npmOperationalInternal":{"tmp":"tmp/jest-testcontainers_3.0.4_1702390852892_0.14434653894186567","host":"s3://npm-registry-packages"}},"3.0.5":{"name":"@blueground/jest-testcontainers","version":"3.0.5","keywords":["jest","testcontainers","docker","integration","test"],"author":{"name":"Blueground LTD"},"license":"MIT","_id":"@blueground/jest-testcontainers@3.0.5","maintainers":[{"name":"stratosp","email":"stratosp@theblueground.com"},{"name":"pavlosptbg","email":"p.tournaris@theblueground.com"}],"homepage":"https://github.com/bluegroundltd/jest-testcontainers#readme","bugs":{"url":"https://github.com/bluegroundltd/jest-testcontainers/issues"},"dist":{"shasum":"44fe00b83ec4513c4029ca3e35bd144c0b6606d9","tarball":"https://registry.npmjs.org/@blueground/jest-testcontainers/-/jest-testcontainers-3.0.5.tgz","fileCount":17,"integrity":"sha512-gTUTE7tCjhKLJFuEKjMWzZQri8cFeDAcx5Oosiv/jh1fjTLu35yl2IPZCu/yFibCIcFuaL5gbiMNST/iTW5Isw==","signatures":[{"sig":"MEQCIHOo/h3HP7bvbUK1qq8rKoInL8eCisPq3RZZJeCwU9QDAiA/izcAq/jnkUX/wzRpz/0XkTauVYuy6m0FxMGG8d7pjg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29018},"main":"dist/index","husky":{"hooks":{"pre-commit":"lint-staged && npm test"}},"types":"dist/index","gitHead":"d9855d3d538f4245027b835098ceba5f676532c3","scripts":{"lint":"eslint --fix src/**/*.ts","test":"jest","build":"npm run remove:dist && tsc","prettier":"prettier --write src/**/*.ts","style:fix":"npm run lint && npm run prettier","prepublish":"npm run build","remove:dist":"rm -rf dist","example:redis":"cd ./examples/01-basic-redis && jest","example:docker-compose":"cd ./examples/03-docker-compose && jest","example:redis-typescript":"cd ./examples/02-typescript-redis && jest"},"_npmUser":{"name":"pavlosptbg","actor":{"name":"pavlosptbg","type":"user","email":"p.tournaris@theblueground.com"},"email":"p.tournaris@theblueground.com"},"repository":{"url":"git+https://github.com/bluegroundltd/jest-testcontainers.git","type":"git"},"_npmVersion":"10.9.2","description":"Jest preset for starting docker containers that stay up whilist your tests run.","directories":{"example":"examples"},"lint-staged":{"*.ts":["eslint --fix","prettier --write"]},"_nodeVersion":"22.17.0","dependencies":{"cwd":"^0.10.0","testcontainers":"11.2.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"30.0.4","husky":"9.1.7","redis":"5.6.0","eslint":"^9.30.1","ts-jest":"29.4.0","prettier":"3.6.2","@eslint/js":"^9.30.1","@types/cwd":"0.10.2","typescript":"^5.8.3","@types/jest":"30.0.0","@types/node":"22.13.14","@types/ssh2":"1.15.5","lint-staged":"16.1.2","@types/redis":"2.8.20","@types/dockerode":"3.3.42","typescript-eslint":"^8.36.0","eslint-plugin-jsdoc":"^51.3.4","eslint-config-prettier":"^10.1.5","@typescript-eslint/parser":"8.36.0","eslint-plugin-prefer-arrow":"^1.2.3","@typescript-eslint/eslint-plugin":"8.36.0"},"peerDependencies":{"jest-environment-node":">=25"},"_npmOperationalInternal":{"tmp":"tmp/jest-testcontainers_3.0.5_1752066205285_0.23453796000277105","host":"s3://npm-registry-packages-npm-production"}},"3.0.6":{"name":"@blueground/jest-testcontainers","version":"3.0.6","keywords":["jest","testcontainers","docker","integration","test"],"author":{"name":"Blueground LTD"},"license":"MIT","_id":"@blueground/jest-testcontainers@3.0.6","maintainers":[{"name":"stratosp","email":"stratosp@theblueground.com"},{"name":"pavlosptbg","email":"p.tournaris@theblueground.com"}],"homepage":"https://github.com/bluegroundltd/jest-testcontainers#readme","bugs":{"url":"https://github.com/bluegroundltd/jest-testcontainers/issues"},"dist":{"shasum":"a247f35808be0fc615cc48d6e24be623a8451758","tarball":"https://registry.npmjs.org/@blueground/jest-testcontainers/-/jest-testcontainers-3.0.6.tgz","fileCount":17,"integrity":"sha512-5VS5tzPso9qmSQn2egfkTt71xlexAXOkoC10qv5mi3Pg5QuElcB8LdWcQFSLZLLR9dYNS+ffbqB4a7ZAUIJDVA==","signatures":[{"sig":"MEUCIQDl+WvHfFWp9f+SVIRqnFjDRPZd4kdhfxDq6pkXUYK7owIgUZS2T2DVevqrodlwxtC3lCJB796epvd55irD6D9HLko=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29018},"main":"dist/index","husky":{"hooks":{"pre-commit":"lint-staged && npm test"}},"types":"dist/index","gitHead":"a4f831869ae3b18e4098828f352182987b8228d6","scripts":{"lint":"eslint --fix src/**/*.ts","test":"jest","build":"npm run remove:dist && tsc","prettier":"prettier --write src/**/*.ts","style:fix":"npm run lint && npm run prettier","prepublish":"npm run build","remove:dist":"rm -rf dist","example:redis":"cd ./examples/01-basic-redis && jest","example:docker-compose":"cd ./examples/03-docker-compose && jest","example:redis-typescript":"cd ./examples/02-typescript-redis && jest"},"_npmUser":{"name":"pavlosptbg","actor":{"name":"pavlosptbg","type":"user","email":"p.tournaris@theblueground.com"},"email":"p.tournaris@theblueground.com"},"repository":{"url":"git+https://github.com/bluegroundltd/jest-testcontainers.git","type":"git"},"_npmVersion":"10.9.2","description":"Jest preset for starting docker containers that stay up whilist your tests run.","directories":{"example":"examples"},"lint-staged":{"*.ts":["eslint --fix","prettier --write"]},"_nodeVersion":"22.17.0","dependencies":{"cwd":"^0.10.0","testcontainers":"11.2.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"30.0.4","husky":"9.1.7","redis":"5.6.0","eslint":"^9.30.1","ts-jest":"29.4.0","prettier":"3.6.2","@eslint/js":"^9.30.1","@types/cwd":"0.10.2","typescript":"^5.8.3","@types/jest":"30.0.0","@types/node":"22.13.14","@types/ssh2":"1.15.5","lint-staged":"16.1.2","@types/redis":"2.8.20","@types/dockerode":"3.3.42","typescript-eslint":"^8.36.0","eslint-plugin-jsdoc":"^51.3.4","eslint-config-prettier":"^10.1.5","@typescript-eslint/parser":"8.36.0","eslint-plugin-prefer-arrow":"^1.2.3","@typescript-eslint/eslint-plugin":"8.36.0"},"peerDependencies":{"jest-environment-node":">=25"},"_npmOperationalInternal":{"tmp":"tmp/jest-testcontainers_3.0.6_1752066541188_0.5117000670863181","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2022-11-10T14:54:51.500Z","modified":"2025-09-05T15:49:40.233Z","3.0.0":"2022-11-10T14:43:32.340Z","3.0.1":"2022-11-10T14:54:51.710Z","3.0.2":"2022-11-10T15:07:49.179Z","3.0.3":"2022-11-11T08:24:26.168Z","3.0.4":"2023-12-12T14:20:53.061Z","3.0.5":"2025-07-09T13:03:25.469Z","3.0.6":"2025-07-09T13:09:01.391Z"},"bugs":{"url":"https://github.com/bluegroundltd/jest-testcontainers/issues"},"author":{"name":"Blueground LTD"},"license":"MIT","homepage":"https://github.com/bluegroundltd/jest-testcontainers#readme","keywords":["jest","testcontainers","docker","integration","test"],"repository":{"url":"git+https://github.com/bluegroundltd/jest-testcontainers.git","type":"git"},"description":"Jest preset for starting docker containers that stay up whilist your tests run.","maintainers":[{"email":"stratosp@theblueground.com","name":"stratosp"}],"readme":"# jest-testcontainers\n_Forked from [trendyol/jest-testcontainers](https://github.com/trendyol/jest-testcontainers)_\n\n### Disclaimer\nMain reason for forking is that the previous repo was not maintained anymore, causing the\n`testcontainers` API to be outdated. Additionally, we needed to support multi-arch Docker\nimages, which has been supported in later versions of `testcontainers-node`.\n\nJest preset for running docker containers with your tests. Primary purpose is to make it possible to use any database in integration tests. Since it uses docker images, custom database images with different plugins/configurations can be used in the integration tests. Using [testcontainers-node](https://github.com/testcontainers/testcontainers-node) under the hood. Inspired by [@shelf/jest-mongodb](https://github.com/shelfio/jest-mongodb).\n\n[![Test Jest-Containers](https://github.com/bluegroundltd/jest-testcontainers/actions/workflows/publish.yml/badge.svg?branch=master)](https://github.com/bluegroundltd/jest-testcontainers/actions/workflows/test.yml)\n[![npm version](https://badge.fury.io/js/@blueground%2Fjest-testcontainers.svg)](https://badge.fury.io/js/@blueground%2Fjest-testcontainers)\n\n## Usage\n### Install\nDocker should be installed on your system. If running inside a CI pipeline, see [FAQ.md](./FAQ.md).\n\n```npm install --save-dev @blueground/jest-testcontainers```\n\n### Edit Jest Config\nOn your `jest.config.js` add the project as the preset.\n\n```js\nmodule.exports = {\n  preset: '@blueground/jest-testcontainers'\n};\n```\n\n### Declare Containers To Run\nCreate a file called `jest-testcontainers-config.js` and put it to root of your project, where you run *npm test*. If you would like to put this file somewhere else, you can use the *JEST_TESTCONTAINERS_CONFIG_PATH* environment variable to define a relative or absolute path. A sample configuration file;\n\n```js\nmodule.exports = {\n  redis: {\n    image: 'redis',\n    tag: 'alpine3.12',\n    ports: [6379],\n    env: {\n      EXAMPLE: 'env',\n    },\n    wait: {\n      type: 'text',\n      text: 'Ready to accept connections'\n    }\n  },\n//   more: {\n//     image: 'any-docker-image', // postgresql, mongodb, neo4j etc.\n//     ports: [1234, 4567], // ports to make accessible in tests\n//   },\n};\n```\n\n### Connect To Containers\nEvery containers IP and Port info is registered to global variables to be used by your tests.\n```js\nconst redis = require('redis');\nconst { promisify } = require('util');\n\ndescribe('testcontainers example suite', () => {\n  let redisClient;\n\n  beforeAll(() => {\n    const redisConnectionURI = `redis://${global.__TESTCONTAINERS_REDIS_IP__}:${global.__TESTCONTAINERS_REDIS_PORT_6379__}`;\n    redisClient = redis.createClient(redisConnectionURI);\n    \n    // if you have declared multiple containers, they will be available to access as well. e.g.\n    // `global.__TESTCONTAINERS_${CONFIG_KEY}_IP__`\n    // `global.__TESTCONTAINERS_${CONFIG_KEY}_PORT_${CONFIG_PORT}__`\n  });\n\n  afterAll(() => {\n    redisClient.quit();\n  });\n  \n  it('write should be ok', async () => {\n    // Arrange\n    const setAsync = promisify(redisClient.set).bind(redisClient);\n\n    // Act\n    const setResult = await setAsync('test', 73);\n\n    // Assert\n    expect(setResult).toEqual('OK');\n  });\n});\n```\n\n## Documentation\nDetailed documentation of the `jest-testcontainers-config.js` can be found at [DOC.md](./DOC.md).\n\n## Examples\n- [examples/01-basic-redis](examples/01-basic-redis) showcases writing integration tests against Redis. You can use `npm run build && npm run example:redis` command to run this example locally.\n- [examples/02-typescript-redis](examples/02-typescript-redis) same test cases as in example #1. However using Typescript instead of JavaScript. You can use `npm run build && npm run example:redis-typescript` to run this example locally.\n- [examples/03-docker-compose](examples/03-docker-compose) same test cases as examples #1 and #2, however using Docker Compose to build the container. You can use `npm run build && npm run example:docker-compose` to run this example locally.\n- [Yengas/nodejs-postgresql-testcontainers](https://github.com/Yengas/nodejs-postgresql-testcontainers) showcases writing integration tests against PostgreSQL with schema migration and Typescript. You can check out the project page for more details.\n\n## Watch mode support\nStarting with version 2.0.0 containers will not be stopped if Jest is started in watch mode. This greatly improves development productivity if your containers have a slow startup time (ex. Elasticsearch). This comes with the price that you have to be mindful that containers will be reused between watch test executions and you need to do proper cleanup in your after hooks.\n\nIf you want to disable this behavior you can set the `JEST_TESTCONTAINERS_RESTART_ON_WATCH` environment variable.\n\n> Wondering what will happen when those containers are not stopped when Jest is exited - [testcontainer's ryuk](https://github.com/testcontainers/testcontainers-node#ryuk) will take care of them.\n\n## License\nThis project is licensed under the MIT License\n","readmeFilename":"README.md"}