<!DOCTYPE html>
<!--
Copyright 2015 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->

<link rel="import" href="/tracing/core/test_utils.html">

<link rel="import" href="/dashboard/static/uri.html">

<script>
'use strict';

tr.b.unittest.testSuite(function() {

  var testOptions = {};

  test('getCurrentPathWithParams encodes value', function() {
    assert.equal(
        window.location.pathname + '?key=some%20value',
        uri.getCurrentPathWithParams({'key': 'some value'}));
  }, testOptions);

});
</script>

Add basic test for uri.getCurrentPathWithParams function.
Add basic test for uri.getCurrentPathWithParams function.

Review URL: https://codereview.chromium.org/1629573002
