From df269c10d99e306f2493d9b75d75b605e9fe2427 Mon Sep 17 00:00:00 2001 From: Christian Paul Date: Wed, 12 Aug 2020 02:06:01 +0200 Subject: [PATCH] Fix TileSource test to be a test (#90) --- src/TileSource.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TileSource.spec.js b/src/TileSource.spec.js index 77d2022..6ad48fa 100644 --- a/src/TileSource.spec.js +++ b/src/TileSource.spec.js @@ -6,7 +6,7 @@ describe('TileSource', () => { test('sets the mode to 3', async () => { const tileSource = new TileSource(); await tileSource.init('http://mapscii.me/'); - tileSource.mode = 3; + expect(tileSource.mode).toBe(3); }); }); });