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

Commit 26fcbce2 by Juan Sebastián Marulanda Sánchez Committed by GitHub

fix(tests): correct spelling mistakes (#12422)

1 parent 2391d082
...@@ -392,7 +392,7 @@ describe(Support.getTestDialectTeaser('Hooks'), () => { ...@@ -392,7 +392,7 @@ describe(Support.getTestDialectTeaser('Hooks'), () => {
this.hook4 = sinon.spy(); this.hook4 = sinon.spy();
}); });
it('runs all beforInit/afterInit hooks', function() { it('runs all beforeInit/afterInit hooks', function() {
Support.Sequelize.addHook('beforeInit', 'h1', this.hook1); Support.Sequelize.addHook('beforeInit', 'h1', this.hook1);
Support.Sequelize.addHook('beforeInit', 'h2', this.hook2); Support.Sequelize.addHook('beforeInit', 'h2', this.hook2);
Support.Sequelize.addHook('afterInit', 'h3', this.hook3); Support.Sequelize.addHook('afterInit', 'h3', this.hook3);
...@@ -420,7 +420,7 @@ describe(Support.getTestDialectTeaser('Hooks'), () => { ...@@ -420,7 +420,7 @@ describe(Support.getTestDialectTeaser('Hooks'), () => {
expect(this.hook4).to.have.been.calledOnce; expect(this.hook4).to.have.been.calledOnce;
}); });
it('runs all beforDefine/afterDefine hooks', function() { it('runs all beforeDefine/afterDefine hooks', function() {
const sequelize = Support.createSequelizeInstance(); const sequelize = Support.createSequelizeInstance();
sequelize.addHook('beforeDefine', this.hook1); sequelize.addHook('beforeDefine', this.hook1);
sequelize.addHook('beforeDefine', this.hook2); sequelize.addHook('beforeDefine', this.hook2);
......
...@@ -46,7 +46,7 @@ describe(Support.getTestDialectTeaser('Model'), () => { ...@@ -46,7 +46,7 @@ describe(Support.getTestDialectTeaser('Model'), () => {
}); });
}); });
it('can detect complexe objects', function() { it('can detect complex objects', function() {
const Where = function() { this.secretValue = '1'; }; const Where = function() { this.secretValue = '1'; };
expect(() => { expect(() => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!