Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
karimnaaji committed Jan 5, 2021
1 parent f2b26d4 commit 5929701
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 21 deletions.
37 changes: 18 additions & 19 deletions test/unit/style/style.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1815,25 +1815,24 @@ test('Style#hasLayer, Style#hasLayerType', (t) => {
"geojson": createGeoJSONSource()
},
"layers": [{
"id": "symbol_id",
"type": "symbol",
"source": "geojson"
},
{
"id": "background_id",
"type": "background"
},
{
"id": "fill_id",
"type": "fill",
"source": "geojson"
},
{
"id": "line_id",
"type": "line",
"source": "geojson"
}
]
"id": "symbol_id",
"type": "symbol",
"source": "geojson"
},
{
"id": "background_id",
"type": "background"
},
{
"id": "fill_id",
"type": "fill",
"source": "geojson"
},
{
"id": "line_id",
"type": "line",
"source": "geojson"
}]
});
return style;
}
Expand Down
4 changes: 2 additions & 2 deletions test/unit/terrain/terrain.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ test('Render cache efficiency', (t) => {
},
geojson: {
type: 'geojson',
data: {
data: {
type: 'Point',
coordinates: [
0,
Expand Down Expand Up @@ -810,7 +810,7 @@ test('Render cache efficiency', (t) => {

// Stub console.warn to prevent test fail
const warn = console.warn;
console.warn = (warning) => {};
console.warn = (_) => {};

t.test('Cache efficiency 1', (t) => {
map.addLayer({
Expand Down

0 comments on commit 5929701

Please sign in to comment.