mirror of
https://github.com/rastapasta/mapscii.git
synced 2025-02-16 09:29:13 +01:00
Don't use async within describe
This commit is contained in:
parent
8a4d82dead
commit
ad4103c8df
@ -2,10 +2,10 @@
|
|||||||
const TileSource = require('./TileSource');
|
const TileSource = require('./TileSource');
|
||||||
|
|
||||||
describe('TileSource', () => {
|
describe('TileSource', () => {
|
||||||
describe('with a HTTP source', async () => {
|
describe('with a HTTP source', () => {
|
||||||
const tileSource = new TileSource();
|
test('sets the mode to 3', async () => {
|
||||||
await tileSource.init('http://mapscii.me/');
|
const tileSource = new TileSource();
|
||||||
test('sets the mode to 3', () => {
|
await tileSource.init('http://mapscii.me/');
|
||||||
tileSource.mode = 3;
|
tileSource.mode = 3;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user