Skip to content

Instantly share code, notes, and snippets.

View jaaneh's full-sized avatar

Jan Henning jaaneh

  • Noroff
  • Oslo, Norway
  • 15:38 (UTC +02:00)
View GitHub Profile
@jaaneh
jaaneh / run-integration.sh
Created October 2, 2023 13:28
Prisma Postgres Jest integration test bash script (Docker)
#!/usr/bin/env bash
# test-utils/scripts/run-integration.sh
# Export env vars from .env.test file.
export $(grep -v '^#' .env.test | xargs)
# Name of docker container. This is the 'container_name' of the service in docker-compose file.
POSTGRES_CONTAINER_NAME="integration-tests-db"
# User to connect to the database with.
DB_USER="postgres"
@jaaneh
jaaneh / resume.json
Last active September 2, 2023 10:38
jsonresume
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"meta": {
"theme": "kendall"
},
"basics": {
"name": "Jan Henning Teige",
"label": "Software Engineer",
"image": "https://pbs.twimg.com/profile_images/1606082983529775107/1wWUEteq_400x400.jpg",
"email": "jan.teige@outlook.com",