UNPKG

340 BJavaScriptView Raw
1var Schema = require("../index.js");
2var assert = require("assert");
3
4describe("options", function() {
5 it("let's x- options through", function() {
6 var options = {
7 "x-from-dependency": "adder/Adder.sol"
8 };
9
10 options = Schema.normalize(options);
11 assert.equal(options["x-from-dependency"], "adder/Adder.sol");
12 });
13});