<commit_before>var $ = require('jquery');
var Backbone = require('backbone');
var Map = require('../../../../src/geo/map');
var VisModel = require('../../../../src/vis/vis');
var Layers = require('../../../../src/geo/map/layers');
var CartoDBLayer = require('../../../../src/geo/map/cartodb-layer');
var Template = require('../../../../src/core/template');
var LayerSelector = require('../../../../src/geo/ui/layer-selector');
var LeafletMapView = require('../../../../src/geo/leaflet/leaflet-map-view');
var LeafletLayerViewFactory = require('../../../../src/geo/leaflet/leaflet-layer-view-factory');

describe('geo/ui/layer-selector', function () {
  var layerSelector, layer1, layer2;

  beforeEach(function() {
    this.vis = new VisModel();
    layer1 = new CartoDBLayer({ options: { layer_name: 'Layer 1' } }, { vis: this.vis });
    layer2 = new CartoDBLayer({ options: { layer_name: 'Layer 2' } }, { vis: this.vis });<commit_msg>Fixed tests<commit_after>var $ = require('jquery');
var Backbone = require('backbone');
var Map = require('../../../../src/geo/map');
var VisModel = require('../../../../src/vis/vis');
var Layers = require('../../../../src/geo/map/layers');
var CartoDBLayer = require('../../../../src/geo/map/cartodb-layer');
var Template = require('../../../../src/core/template');
var LayerSelector = require('../../../../src/geo/ui/layer-selector');
var LeafletMapView = require('../../../../src/geo/leaflet/leaflet-map-view');
var LeafletLayerViewFactory = require('../../../../src/geo/leaflet/leaflet-layer-view-factory');

describe('geo/ui/layer-selector', function () {
  var layerSelector, layer1, layer2;

  beforeEach(function() {
    this.vis = new VisModel();
    layer1 = new CartoDBLayer({ layer_name: 'Layer 1' }, { vis: this.vis });
    layer2 = new CartoDBLayer({ layer_name: 'Layer 2' }, { vis: this.vis });
{'fraction_non_alphanumeric': 0.2611050920910076, 'fraction_numerical': 0.0065005417118093175, 'mean_word_length': 3.032751091703057, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2258762', 'n_tokens_mistral': 582, 'n_tokens_neox': 571, 'n_words': 113}