diff --git a/tests/integration/misc.js b/tests/integration/misc.js
index <HASH>..<HASH> 100644
--- a/tests/integration/misc.js
+++ b/tests/integration/misc.js
@@ -833,7 +833,7 @@ module.exports = function (session) {
       return A.query(session.knex)
         .eagerAlgorithm(Model.JoinEagerAlgorithm)
         .eager('Bs.[Cs, Ds]')
-        .then((results) => {
+        .then(function (results) {
           expect(results).to.eql([{
             id: 1,
remove ES<I> code from a test