Skip to content

Commit 6c66b0c

Browse files
author
kristinn93
committed
test 2
1 parent 21609b7 commit 6c66b0c

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

dist/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

formats-web.js

+9-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,15 @@ formats["SM.json"] = require("./formats/SM.json");
4949
formats["SO.json"] = require("./formats/SO.json");
5050
formats["SZ.json"] = require("./formats/SZ.json");
5151
formats["TC.json"] = require("./formats/TC.json");
52-
formats["US.json"] =
53-
JSON.parse('{"Description":"US : NNNNN[-NNNN]","RedundantCharacters":" -","ValidationRegex":"^[0-9]{5}([0-9]{4})?$","TestData":{"Valid":["12345","12345-7689"],"Invalid":["x1231s","1231sd","1010101010"]}}"');
52+
formats["US.json"] = {
53+
Description: "US : NNNNN[-NNNN]",
54+
RedundantCharacters: " -",
55+
ValidationRegex: "^[0-9]{5}([0-9]{4})?$",
56+
TestData: {
57+
Valid: ["12345", "12345-7689"],
58+
Invalid: ["x1231s", "1231sd", "1010101010"]
59+
}
60+
};
5461
formats["VA.json"] = require("./formats/VA.json");
5562
formats["VC.json"] = require("./formats/VC.json");
5663
formats["VE.json"] = require("./formats/VE.json");

0 commit comments

Comments
 (0)