Skip to content

1.32 not backward-compatiblie #98

@d215steinberg

Description

@d215steinberg
beforeEach(function () {
    angular
        .module("tmh-dynamic-locale-provider-holder", [
            "tmh.dynamicLocale"
        ])
        .config(['tmhDynamicLocaleProvider', function (tmhDynamicLocaleProvider) {
            tmhDynamicLocaleProvider.localeLocationPattern('base/bower_components/angular-i18n/angular-locale_{{locale}}.js');
        }]);
});

describe('...', function() {
    var tmhDynamicLocale;
    var async = new AsyncSpec(this);
        ...
    async.beforeEach(function(done) {
        module('tmh-dynamic-locale-provider-holder');

        inject(function ($injector) {
            tmhDynamicLocale = $injector.get('tmhDynamicLocale');
        }

        tmhDynamicLocale.set('en-us')
            .then(function () {
                done();
            });
    });
...
});

This worked fine with 1.30, but it times out with 1.32.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions