We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f5c86c commit 487720aCopy full SHA for 487720a
test/stateSpec.js
@@ -287,6 +287,13 @@ describe('state', function () {
287
}));
288
});
289
290
+ describe('.getConfig()', function () {
291
+ it("should return a copy of the state's config", inject(function ($state) {
292
+ expect($state.getConfig('home').url).toBe('/');
293
+ expect($state.getConfig('home.item').url).toBe('front/:id');
294
+ }));
295
+ });
296
+
297
describe(' "data" property inheritance/override', function () {
298
it('"data" property should stay immutable for if state doesn\'t have parent', inject(function ($state) {
299
initStateTo(H);
0 commit comments