Skip to content

Commit

Permalink
TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
Sleavely committed May 11, 2020
1 parent 0df5f18 commit 719650a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,23 @@ it('can be loaded without throwing exceptions', () => {
requireUncached(`./index`)
}).not.toThrow()
})

describe('init()', () => {
it.todo('writes a configtemplate to the supplied path')
})

describe('create()', () => {
it.todo('ensures the migrationsDirectory exists')
it.todo('creates a migration from template')
it.todo('writes migration in the directory defined by config')
})

describe('run()', () => {
it.todo('builds context')
it.todo('determines pending jobs from state history')
it.todo('runs beforeAll hook before executing any migrations')
it.todo('runs afterAll hook after migrations have been executed')
it.todo('doesnt run beforeAll when no migrations are pending')
it.todo('doesnt run afterAll when no migrations are pending')
it.todo('stores executed migrations to state')
})

0 comments on commit 719650a

Please sign in to comment.