Don't use async within describe

pull/59/head
Christian Paul 2019-03-24 18:18:48 -07:00
rodzic 8a4d82dead
commit ad4103c8df
1 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -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;
});
});