From ad4103c8df42615c2bd2faed46a33f649d30acf7 Mon Sep 17 00:00:00 2001 From: Christian Paul Date: Sun, 24 Mar 2019 18:18:48 -0700 Subject: [PATCH] Don't use async within describe --- src/TileSource.spec.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/TileSource.spec.js b/src/TileSource.spec.js index 4451c3f..77d2022 100644 --- a/src/TileSource.spec.js +++ b/src/TileSource.spec.js @@ -2,10 +2,10 @@ const TileSource = require('./TileSource'); describe('TileSource', () => { - describe('with a HTTP source', async () => { - const tileSource = new TileSource(); - await tileSource.init('http://mapscii.me/'); - test('sets the mode to 3', () => { + describe('with a HTTP source', () => { + test('sets the mode to 3', async () => { + const tileSource = new TileSource(); + await tileSource.init('http://mapscii.me/'); tileSource.mode = 3; }); });