text: define("ember-testing/lib/helpers/current_path", ["exports", "@ember/-internals/metal"], function (_exports, _metal) {
    "use strict";
  
    Object.defineProperty(_exports, "__esModule", {
      value: true
    });
    _exports.default = currentPath;
  
    /**
    @module ember
    */
  
    /**
      Returns the current path.
    
    Example:
    
    ```javascript
    function validateURL() {
      equal(currentPath(), 'some.path.index', "correct path was transitioned into.");
    }
    
    click('#some-link-id').then(validateURL);
    ```
    
    @method currentPath
    @return {Object} The currently active path.
    @since 1.5.0
    @public
    */
    function currentPath(app) {
      var routingService = app.__container__.lookup('service:-routing');
  
      return (0, _metal.get)(routingService, 'currentPath');
    }
  });