<commit_before>describe('The state url conversion factory', function () {
    let stateUrlConverter,
        DRAW_TOOL_CONFIG;

    describe('The default state', function () {
        beforeEach(function () {
            angular.mock.module('atlas');

            angular.mock.inject(function (_stateUrlConverter_, _DRAW_TOOL_CONFIG_) {
                stateUrlConverter = _stateUrlConverter_;
                DRAW_TOOL_CONFIG = _DRAW_TOOL_CONFIG_;
            });
        });

        it('is exported as DEFAULT_STATE', function () {
            const DEFAULT_STATE = stateUrlConverter.getDefaultState();

            expect(DEFAULT_STATE).toEqual({
                map: {
                    baseLayer: 'topografie',
                    overlays: [],
                    viewCenter: [52.3731081, 4.8932945],
                    zoom: 11,
                    showActiveOverlays: false,
                    isFullscreen: false,
                    isLoading: false,
                    drawingMode: DRAW_TOOL_CONFIG.DRAWING_MODE.NONE
                },
                layerSelection: {
                    isEnabled: false
                },
                search: null,
                page: {
                    name: 'home'
                },
                detail: null,
                straatbeeld: null,
                dataSelection: null,
                atlas: {
                    isPrintMode: false<commit_msg>fixed unit tests for map reducer and state to url tg-3352<commit_after>describe('The state url conversion factory', function () {
    let stateUrlConverter;

    describe('The default state', function () {
        beforeEach(function () {
            angular.mock.module('atlas');

            angular.mock.inject(function (_stateUrlConverter_) {
                stateUrlConverter = _stateUrlConverter_;
            });
        });

        it('is exported as DEFAULT_STATE', function () {
            const DEFAULT_STATE = stateUrlConverter.getDefaultState();

            expect(DEFAULT_STATE).toEqual({
                map: {
                    baseLayer: 'topografie',
                    overlays: [],
                    viewCenter: [52.3731081, 4.8932945],
                    zoom: 11,
                    showActiveOverlays: false,
                    isFullscreen: false,
                    isLoading: false,
                    drawingMode: 'none'
                },
                layerSelection: {
                    isEnabled: false
                },
                search: null,
                page: {
                    name: 'home'
                },
                detail: null,
                straatbeeld: null,
                dataSelection: null,
                atlas: {
                    isPrintMode: false
{'fraction_non_alphanumeric': 0.08348391760028913, 'fraction_numerical': 0.015178894109143477, 'mean_word_length': 1.2376717865804365, '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': '2561232', 'n_tokens_mistral': 708, 'n_tokens_neox': 624, 'n_words': 135}