Skip to content

Commit

Permalink
Add comment for MIGRATE_MONGO_URI use case
Browse files Browse the repository at this point in the history
  • Loading branch information
lelinhtinh committed Jan 11, 2025
1 parent 74d065e commit b83510f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/migrator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { getConfig } from '../src/commander'

describe('Tests for Migrator class - Programmatic approach', () => {
const uri = `${globalThis.__MONGO_URI__}${globalThis.__MONGO_DB_NAME__}`
const migrateUri = process.env.MIGRATE_MONGO_URI
const migrateUri = process.env.MIGRATE_MONGO_URI // use in getModels in examples/config-file-usage/src/models/index.ts
let connection: Connection

beforeEach(async () => {
Expand Down

0 comments on commit b83510f

Please sign in to comment.