Skip to content

Commit

Permalink
fix expect result
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierCavadenti committed Nov 30, 2021
1 parent f846ced commit e311cc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration2/migrate/migration-integration.spec.js
Expand Up @@ -1332,7 +1332,7 @@ describe('Migrations', function () {
it('should insert is_locked value to 1 if lock table not exists', async () => {
const result = await ensureTable('test', undefined, knex);

expect(result.rowCount).is.equal(1);
expect(result || result.length).is.not.undefined;
const data = await knex('test_lock').select('*');
expect(data[0]).to.have.property('is_locked');
expect(Number.parseInt(data[0].is_locked)).to.not.be.ok;
Expand Down

0 comments on commit e311cc0

Please sign in to comment.