不要怂,就是干,撸起袖子干!

Commit b94b2c0f by sdepold

async

1 parent 12c4f1c6
Showing with 4 additions and 1 deletions
...@@ -18,7 +18,10 @@ describe('Associations', function() { ...@@ -18,7 +18,10 @@ describe('Associations', function() {
Table2.hasMany(Table1) Table2.hasMany(Table1)
it("should create a table wp_table1wp_table2s", function() { it("should create a table wp_table1wp_table2s", function() {
expect(sequelize.modelManager.getModel('wp_table1swp_table2s')).toBeDefined() Helpers.async(function(done) {
expect(sequelize.modelManager.getModel('wp_table1swp_table2s')).toBeDefined()
done()
})
}) })
}) })
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!