Fix TileSource test to be a test (#90)

This commit is contained in:
Christian Paul 2020-08-12 02:06:01 +02:00 committed by GitHub
parent 26f8ebe1f5
commit df269c10d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ describe('TileSource', () => {
test('sets the mode to 3', async () => { test('sets the mode to 3', async () => {
const tileSource = new TileSource(); const tileSource = new TileSource();
await tileSource.init('http://mapscii.me/'); await tileSource.init('http://mapscii.me/');
tileSource.mode = 3; expect(tileSource.mode).toBe(3);
}); });
}); });
}); });