blob: 8493e9fa7df142151429f2034f80f69e7424e3ab [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
var test = require('tape');
var config = require('../browser/config');
test('config(key, value)', function(t) {
var url = 'https://playground.staging.v.io/api';
config('api-url', url);
var value = config('api-url');
t.equal(value, url);
t.end();
});