From da5820e45c04b4b54756c28bae11cf9b3e9003ea Mon Sep 17 00:00:00 2001 From: allthesignals Date: Wed, 22 Aug 2018 00:01:32 -0400 Subject: [PATCH] Fix tests --- addon/components/labs-layers.js | 2 +- tests/dummy/app/adapters/application.js | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/addon/components/labs-layers.js b/addon/components/labs-layers.js index c6f9eff..616e313 100644 --- a/addon/components/labs-layers.js +++ b/addon/components/labs-layers.js @@ -224,7 +224,7 @@ export default class LayersComponent extends Component { const hoveredFeature = this.get('hoveredFeature'); let isNew = true; - if (!!hoveredFeature) { + if (hoveredFeature) { if ((feature.id === hoveredFeature.id) && (feature.layer.id === hoveredFeature.layer.id)) { isNew = false; } diff --git a/tests/dummy/app/adapters/application.js b/tests/dummy/app/adapters/application.js index eae5b12..ba0fee2 100644 --- a/tests/dummy/app/adapters/application.js +++ b/tests/dummy/app/adapters/application.js @@ -4,8 +4,6 @@ import config from '../config/environment'; const { host } = config; const { JSONAPIAdapter } = DS; -console.log(host); - export default class ApplicationAdapter extends JSONAPIAdapter { host = host; namespace = 'v1';