Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
timsuchanek committed Jun 27, 2019
1 parent 4eb4c82 commit 61a60b7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion prisma2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"typescript": "^3.5.1"
},
"scripts": {
"test": "./node_modules/.bin/mocha src/__tests__/integrate.test.ts --require ts-mocha src/__te_/integrate.test.ts --timeout 10s",
"test": "./node_modules/.bin/mocha src/__tests__/integrate.test.ts --require ts-mocha src/__tests__/integrate.test.ts --timeout 10s",
"install": "test -f download-build/index.js && node download-build/index.js || echo \"\"",
"tsc": "tsc -d",
"ncc": "ncc build dist/bin.js -o build",
Expand Down
2 changes: 1 addition & 1 deletion prisma2/scripts/copy-runtime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ mkdir -p nexus_prisma_ncc_build
mkdir -p prisma-test-utils_ncc
cp -R node_modules/@prisma/photon/runtime/* runtime
cp -R node_modules/nexus-prisma/nexus_prisma_ncc_build/* nexus_prisma_ncc_build
cp -R node_modules/prisma-test-utils/prisma-test-utils_ncc/* prisma-test-utils_ncc
# cp -R node_modules/prisma-test-utils/prisma-test-utils_ncc/* prisma-test-utils_ncc
cp node_modules/@prisma/lift/dist/GeneratorWorker.js build/GeneratorWorker.js
cp -R node_modules/@prisma/studio-server/public/* build/public
rm -rf build/public/static/js/*.map
Expand Down
2 changes: 2 additions & 0 deletions prisma2/src/__tests__/integrate.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import del from 'del'

const host = process.env.TEST_POSTGRES_URI || 'postgres://localhost:5432/prisma-dev'

console.log({ host })

const db = new Client({
connectionString: host,
})
Expand Down

0 comments on commit 61a60b7

Please sign in to comment.