@@ -162,12 +162,12 @@ describe('Schema Store', function () {
162162 } ) ;
163163
164164 describe ( 'geoLayers' , function ( ) {
165- it ( 'geoLayerAdded, geoLayersEdited, geoLayersDeleted: calls the onChange callback' , async function ( ) {
165+ it ( 'geoLayerAdded, geoLayersEdited, geoLayersDeleted: calls the onChange callback' , function ( ) {
166166 const layer = new Circle ( [ 1 , 2 ] , {
167167 radius : 1000 ,
168168 } ) ;
169169 const onChangeSpy = sandbox . spy ( ) ;
170- await store . dispatch ( geoLayerAdded ( 'coordinates' , layer , onChangeSpy ) ) ;
170+ store . dispatch ( geoLayerAdded ( 'coordinates' , layer , onChangeSpy ) ) ;
171171 expect ( onChangeSpy ) . to . have . been . calledOnceWith ( {
172172 coordinates : {
173173 $geoWithin : {
@@ -177,7 +177,7 @@ describe('Schema Store', function () {
177177 } ) ;
178178 } ) ;
179179
180- it ( 'geoLayersEdited: calls the onChange callback' , async function ( ) {
180+ it ( 'geoLayersEdited: calls the onChange callback' , function ( ) {
181181 const layersGroup = new LayerGroup ( ) ;
182182 layersGroup . addLayer (
183183 new Polygon ( [
@@ -187,7 +187,7 @@ describe('Schema Store', function () {
187187 ] )
188188 ) ;
189189 const onChangeSpy = sandbox . spy ( ) ;
190- await store . dispatch (
190+ store . dispatch (
191191 geoLayersEdited ( 'coordinates' , layersGroup , onChangeSpy )
192192 ) ;
193193 expect ( onChangeSpy ) . to . have . been . calledOnceWith ( {
@@ -202,7 +202,7 @@ describe('Schema Store', function () {
202202 } ) ;
203203 } ) ;
204204
205- it ( 'geoLayersDeleted: calls the onChange callback' , async function ( ) {
205+ it ( 'geoLayersDeleted: calls the onChange callback' , function ( ) {
206206 const layersGroup = new LayerGroup ( ) ;
207207 layersGroup . addLayer (
208208 new Polygon ( [
@@ -212,7 +212,7 @@ describe('Schema Store', function () {
212212 ] )
213213 ) ;
214214 const onChangeSpy = sandbox . spy ( ) ;
215- await store . dispatch ( geoLayersDeleted ( layersGroup , onChangeSpy ) ) ;
215+ store . dispatch ( geoLayersDeleted ( layersGroup , onChangeSpy ) ) ;
216216 expect ( onChangeSpy ) . to . have . been . calledOnceWith ( { $or : [ ] } ) ;
217217 } ) ;
218218 } ) ;
0 commit comments