Skip to content

Commit cdb335e

Browse files
committed
test: fix import path
1 parent 8920e15 commit cdb335e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/index.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var assert = require('assert')
22
const CryptoJS = require('crypto-js')
33
import axios from 'axios'
4-
import { PG_API_URL, PG_API_PORT, PG_CONNECTION, CRYPTO_KEY } from '../../src/lib/constants'
4+
import { PG_API_URL, PG_API_PORT, PG_CONNECTION, CRYPTO_KEY } from '../../dist/lib/constants'
55

66
const URL = `${PG_API_URL}:${PG_API_PORT}`
77
const STATUS = {
@@ -151,7 +151,7 @@ describe('/tables', async () => {
151151
const tables = await axios.get(`${URL}/tables`)
152152
const datum = tables.data.find((x) => x.table_id == 'public.users')
153153
const relationships = datum.relationships
154-
const relationship = relationships.find(x => x.source_table_id == 'public.todos')
154+
const relationship = relationships.find((x) => x.source_table_id == 'public.todos')
155155
assert.equal(relationships.length > 0, true)
156156
assert.equal(true, relationship.target_table_id == 'public.users')
157157
})

0 commit comments

Comments
 (0)