<commit_before>var _ = require('underscore-cdb-v3');
var $ = require('jquery-cdb-v3');
var cdb = require('cartodb.js-v3');
var MainView = require('../../../../javascripts/cartodb/dashboard/main_view_static');
var Router = require('../../../../javascripts/cartodb/dashboard/router');

describe('dashboard/main_view_static', function () {
  beforeEach(function () {
    this.$el = $('<div id="app"></div>');

    var collection = new cdb.admin.Visualizations();

    this.user = new cdb.admin.User({
      username: 'pepe',
      base_url: 'http://pepe.carto.com',
      email: '<EMAIL>',
      account_type: 'FREE'
    });
    spyOn(this.user, 'featureEnabled').and.returnValue(true);
<commit_msg>user Id<commit_after>var _ = require('underscore-cdb-v3');
var $ = require('jquery-cdb-v3');
var cdb = require('cartodb.js-v3');
var MainView = require('../../../../javascripts/cartodb/dashboard/main_view_static');
var Router = require('../../../../javascripts/cartodb/dashboard/router');

describe('dashboard/main_view_static', function () {
  beforeEach(function () {
    this.$el = $('<div id="app"></div>');

    var collection = new cdb.admin.Visualizations();

    this.user = new cdb.admin.User({
      username: 'pepe',
      base_url: 'http://pepe.carto.com',
      email: '<EMAIL>',
      account_type: 'FREE',
      id: 1
    });
    spyOn(this.user, 'featureEnabled').and.returnValue(true);

{'fraction_non_alphanumeric': 0.21157969978556113, 'fraction_numerical': 0.005003573981415297, 'mean_word_length': 3.4871794871794872, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '5628088', 'n_tokens_mistral': 474, 'n_tokens_neox': 468, 'n_words': 75}