Skip to content

Commit

Permalink
[codemod] test/unit no-strict
Browse files Browse the repository at this point in the history
  • Loading branch information
Anand Thakker committed Mar 6, 2018
1 parent d1e5acd commit cd93d0d
Show file tree
Hide file tree
Showing 98 changed files with 0 additions and 204 deletions.
2 changes: 0 additions & 2 deletions test/unit/data/dem_data.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import util from '../../../src/util/util';
import { DEMData, Level } from '../../../src/data/dem_data';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/data/fill_bucket.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import fs from 'fs';
import path from 'path';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/data/line_bucket.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import fs from 'fs';
import path from 'path';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/data/load_geometry.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import fs from 'fs';
import path from 'path';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/data/symbol_bucket.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import fs from 'fs';
import path from 'path';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/data/vertex_buffer.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import VertexBuffer from '../../../src/gl/vertex_buffer';
import { StructArrayLayout3i6 } from '../../../src/data/array_types';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/geo/coordinate.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import Coordinate from '../../../src/geo/coordinate';

Expand Down
2 changes: 0 additions & 2 deletions test/unit/geo/lng_lat.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import LngLat from '../../../src/geo/lng_lat';

Expand Down
2 changes: 0 additions & 2 deletions test/unit/geo/lng_lat_bounds.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import LngLat from '../../../src/geo/lng_lat';
import LngLatBounds from '../../../src/geo/lng_lat_bounds';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/geo/transform.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import Point from '@mapbox/point-geometry';
import Transform from '../../../src/geo/transform';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/gl/state.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import { ClearColor, ClearDepth, ClearStencil, ColorMask, DepthMask, StencilMask, StencilFunc, StencilOp, StencilTest, DepthRange, DepthTest, DepthFunc, Blend, BlendFunc, BlendColor, Program, LineWidth, ActiveTextureUnit, Viewport, BindFramebuffer, BindRenderbuffer, BindTexture, BindVertexBuffer, BindElementBuffer, BindVertexArrayOES, PixelStoreUnpack, PixelStoreUnpackPremultiplyAlpha } from '../../../src/gl/value';
import Context from '../../../src/gl/context';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/mapbox-gl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import mapboxgl from '../../src';

Expand Down
4 changes: 0 additions & 4 deletions test/unit/render/glyph_manager.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
// @flow

'use strict';

import { test } from 'mapbox-gl-js-test';
import proxyquire from 'proxyquire';
import parseGlyphPBF from '../../../src/style/parse_glyph_pbf';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/shaders/encode_attribute.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import encode from '../../../src/shaders/encode_attribute';

Expand Down
2 changes: 0 additions & 2 deletions test/unit/source/canvas_source.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import CanvasSource from '../../../src/source/canvas_source';
import Transform from '../../../src/geo/transform';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/source/geojson_source.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import Tile from '../../../src/source/tile';
import { OverscaledTileID } from '../../../src/source/tile_id';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/source/geojson_worker_source.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import GeoJSONWorkerSource from '../../../src/source/geojson_worker_source';
import StyleLayerIndex from '../../../src/style/style_layer_index';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/source/geojson_wrapper.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import Wrapper from '../../../src/source/geojson_wrapper';

Expand Down
2 changes: 0 additions & 2 deletions test/unit/source/image_source.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import ImageSource from '../../../src/source/image_source';
import { Evented } from '../../../src/util/evented';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/source/query_features.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import QueryFeatures from '../../../src/source/query_features.js';
import SourceCache from '../../../src/source/source_cache.js';
Expand Down
1 change: 0 additions & 1 deletion test/unit/source/raster_dem_tile_source.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
'use strict';
import { test } from 'mapbox-gl-js-test';
import RasterDEMTileSource from '../../../src/source/raster_dem_tile_source';
import window from '../../../src/util/window';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/source/raster_dem_tile_worker_source.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import RasterDEMTileWorkerSource from '../../../src/source/raster_dem_tile_worker_source';
import StyleLayerIndex from '../../../src/style/style_layer_index';
Expand Down
1 change: 0 additions & 1 deletion test/unit/source/raster_tile_source.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
'use strict';
import { test } from 'mapbox-gl-js-test';
import RasterTileSource from '../../../src/source/raster_tile_source';
import window from '../../../src/util/window';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/source/source_cache.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import SourceCache from '../../../src/source/source_cache';
import Source from '../../../src/source/source';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/source/tile.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import Tile from '../../../src/source/tile';
import GeoJSONWrapper from '../../../src/source/geojson_wrapper';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/source/tile_id.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import { CanonicalTileID, OverscaledTileID } from '../../../src/source/tile_id';

Expand Down
2 changes: 0 additions & 2 deletions test/unit/source/tile_mask.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import updateTileMasks from '../../../src/render/tile_mask';
import { OverscaledTileID } from '../../../src/source/tile_id';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/source/vector_tile_source.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import VectorTileSource from '../../../src/source/vector_tile_source';
import { OverscaledTileID } from '../../../src/source/tile_id';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/source/vector_tile_worker_source.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import fs from 'fs';
import path from 'path';
import vt from '@mapbox/vector-tile';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/source/worker.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import Worker from '../../../src/source/worker';
import window from '../../../src/util/window';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/source/worker_tile.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import WorkerTile from '../../../src/source/worker_tile';
import Wrapper from '../../../src/source/geojson_wrapper';
Expand Down
4 changes: 0 additions & 4 deletions test/unit/style-spec/color.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
// @flow

'use strict';

import { test } from 'mapbox-gl-js-test';
import Color from '../../../src/style-spec/util/color';

Expand Down
2 changes: 0 additions & 2 deletions test/unit/style-spec/composite.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import composite from '../../../src/style-spec/composite';

Expand Down
2 changes: 0 additions & 2 deletions test/unit/style-spec/convert_function.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import convertFunction from '../../../src/style-spec/function/convert';

Expand Down
2 changes: 0 additions & 2 deletions test/unit/style-spec/declass.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test as t } from 'mapbox-gl-js-test';
import declass from '../../../src/style-spec/declass';

Expand Down
2 changes: 0 additions & 2 deletions test/unit/style-spec/deref.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test as t } from 'mapbox-gl-js-test';
import deref from '../../../src/style-spec/deref';

Expand Down
2 changes: 0 additions & 2 deletions test/unit/style-spec/diff.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test as t } from 'mapbox-gl-js-test';
import diffStyles from '../../../src/style-spec/diff';

Expand Down
2 changes: 0 additions & 2 deletions test/unit/style-spec/expression.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import { createPropertyExpression } from '../../../src/style-spec/expression';

Expand Down
2 changes: 0 additions & 2 deletions test/unit/style-spec/feature_filter.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import proxyquire from 'proxyquire';

Expand Down
2 changes: 0 additions & 2 deletions test/unit/style-spec/format.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test as t } from 'mapbox-gl-js-test';
import format from '../../../src/style-spec/format';

Expand Down
2 changes: 0 additions & 2 deletions test/unit/style-spec/function.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import { createFunction } from '../../../src/style-spec/function';
import Color from '../../../src/style-spec/util/color';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/style-spec/group_by_layout.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test as t } from 'mapbox-gl-js-test';
import group from '../../../src/style-spec/group_by_layout';

Expand Down
2 changes: 0 additions & 2 deletions test/unit/style-spec/interpolate.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import interpolate from '../../../src/style-spec/util/interpolate';
import Color from '../../../src/style-spec/util/color';
Expand Down
3 changes: 0 additions & 3 deletions test/unit/style-spec/migrate.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/* global process, __dirname */
'use strict';

import { test as t } from 'mapbox-gl-js-test';
import fs from 'fs';
import glob from 'glob';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/style-spec/migrate/v8.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test as t } from 'mapbox-gl-js-test';
import migrate from '../../../../src/style-spec/migrate/v8';

Expand Down
2 changes: 0 additions & 2 deletions test/unit/style-spec/migrate/v9.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test as t } from 'mapbox-gl-js-test';
import migrate from '../../../../src/style-spec/migrate/v9';

Expand Down
2 changes: 0 additions & 2 deletions test/unit/style-spec/spec.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import spec from '../../../src/style-spec/style-spec';

Expand Down
2 changes: 0 additions & 2 deletions test/unit/style-spec/util/color_spaces.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import colorSpaces from '../../../../src/style-spec/util/color_spaces';
import Color from '../../../../src/style-spec/util/color';
Expand Down
3 changes: 0 additions & 3 deletions test/unit/style-spec/validate.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/* global process, __dirname */
'use strict';

import { test as t } from 'mapbox-gl-js-test';
import glob from 'glob';
import fs from 'fs';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/style/light.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import Light from '../../../src/style/light';
import { light as spec } from '../../../src/style-spec/reference/latest';
Expand Down
4 changes: 0 additions & 4 deletions test/unit/style/load_glyph_range.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
// @flow

'use strict';

import { test } from 'mapbox-gl-js-test';
import proxyquire from 'proxyquire';

Expand Down
2 changes: 0 additions & 2 deletions test/unit/style/style.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import proxyquire from 'proxyquire';
import Style from '../../../src/style/style';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/style/style_layer.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import StyleLayer from '../../../src/style/style_layer';
import FillStyleLayer from '../../../src/style/style_layer/fill_style_layer';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/style/style_layer_index.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import util from '../../../src/util/util';
import StyleLayerIndex from '../../../src/style/style_layer_index';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/symbol/anchor.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import Anchor from '../../../src/symbol/anchor';

Expand Down
2 changes: 0 additions & 2 deletions test/unit/symbol/check_max_angle.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import Point from '@mapbox/point-geometry';
import checkMaxAngle from '../../../src/symbol/check_max_angle';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/symbol/collision_feature.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import CollisionFeature from '../../../src/symbol/collision_feature';
import Anchor from '../../../src/symbol/anchor';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/symbol/cross_tile_symbol_index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import Anchor from '../../../src/symbol/anchor';
import CrossTileSymbolIndex from '../../../src/symbol/cross_tile_symbol_index';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/symbol/get_anchors.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import Point from '@mapbox/point-geometry';
import getAnchors from '../../../src/symbol/get_anchors';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/symbol/grid_index.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import GridIndex from '../../../src/symbol/grid_index';

Expand Down
2 changes: 0 additions & 2 deletions test/unit/symbol/mergelines.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import mergeLines from '../../../src/symbol/mergelines';
import Point from '@mapbox/point-geometry';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/symbol/quads.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import { getIconQuads } from '../../../src/symbol/quads';
import Anchor from '../../../src/symbol/anchor';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/symbol/shaping.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import fs from 'fs';
import path from 'path';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/ui/camera.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import Camera from '../../../src/ui/camera';
import Transform from '../../../src/geo/transform';
Expand Down
2 changes: 0 additions & 2 deletions test/unit/ui/control/attribution.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

import { test } from 'mapbox-gl-js-test';
import window from '../../../../src/util/window';
import Map from '../../../../src/ui/map';
Expand Down
Loading

0 comments on commit cd93d0d

Please sign in to comment.