"use strict";

require("../../injector");

var _create = require("../../codec/create");

// Copyright 2017-2019 @polkadot/types authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
describe('KeyValueOption', () => {
  it('exposes the properties for key/value', () => {
    const [key, value] = (0, _create.createType)('KeyValueOption', ['0x11223344']);
    expect(key.toHex()).toEqual('0x11223344');
    expect(value.isNone).toEqual(true);
  });
});