Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
timsuchanek committed Jun 27, 2019
1 parent 47b02f4 commit 0d96f4d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion prisma2/src/__tests__/integrate.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ async function runTest(t) {
const photonPath = join(tmp, 'index.js')
const photonDeclarationPath = join(tmp, 'index.d.ts')

assert(fs.existsSync(photonDeclarationPath))
assert(fs.existsSync(photonPath))
assert(fs.existsSync(photonDeclarationPath))

// clear the require cache
delete require.cache[photonPath]
Expand Down
5 changes: 4 additions & 1 deletion scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@
set -ex
env

diff -u <(git rev-list --first-parent topic) \
<(git rev-list --first-parent master) | \
sed -ne 's/^ //p' | head -1

# Wait for Postgres
# sleep 15

# Run prisma2 tests
cd prisma2
Expand Down

0 comments on commit 0d96f4d

Please sign in to comment.