diff --git a/tests/unit/core/randomGeneration.spec.js b/tests/unit/core/randomGeneration.spec.js
index 59c4280c89bcd1ace1989e9fa8d258e719a53425..8f7e5e56ccf44e4c27b391a1d942e8af6bd01a94 100644
--- a/tests/unit/core/randomGeneration.spec.js
+++ b/tests/unit/core/randomGeneration.spec.js
@@ -4,7 +4,7 @@ import jsf from '../../../src';
 /* global describe, it */
 
 describe('Random Generation', () => {
-  it('should generate all the fields with alwaysFakeOptionals option and additionalProperties: true', async () => {
+  it('should generate all the fields with alwaysFakeOptionals option and additionalProperties: true', () => {
     jsf.option({
       alwaysFakeOptionals: true,
     });
@@ -19,11 +19,11 @@ describe('Random Generation', () => {
       additionalProperties: true,
     };
 
-    const resolved = await jsf.resolve(schema);
-
-    expect(Object.keys(resolved).length).to.be.at.least(2);
+    return jsf.resolve(schema).then(resolved => {
+      expect(Object.keys(resolved).length).to.be.at.least(2);
+    });
   });
-  it('should generate all the fields with alwaysFakeOptionals option and additionalProperties: false', async () => {
+  it('should generate all the fields with alwaysFakeOptionals option and additionalProperties: false', () => {
     jsf.option({
       alwaysFakeOptionals: true,
     });
@@ -38,8 +38,8 @@ describe('Random Generation', () => {
       additionalProperties: false,
     };
 
-    const resolved = await jsf.resolve(schema);
-
-    expect(Object.keys(resolved).length).is.eql(2);
+    return jsf.resolve(schema).then(resolved => {
+      expect(Object.keys(resolved).length).is.eql(2);
+    });
   });
 });