Skip to content

Commit

Permalink
change: remove await in app.ready with callback
Browse files Browse the repository at this point in the history
  • Loading branch information
easterneas committed Oct 24, 2021
1 parent 501e6b8 commit 0ddcee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ test(
const app = await initializeApp(fastify)
const { sequelize, Sequelize } = app.models

await app.ready(async function () {
app.ready(async function () {
const Movie = sequelize.define('movies', {
name: Sequelize.STRING,
genre: Sequelize.STRING
Expand Down

0 comments on commit 0ddcee6

Please sign in to comment.