File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,16 +83,16 @@ describe("Postcode.toDistrict", () => {
8383 } ) ;
8484} ) ;
8585
86- // describe("Postcode.toSubDistrict", () => {
87- // it("should correctly parse sub-districts", async () => {
88- // const { tests } = await loadFixtures("sub-districts.json");
89- // testMethod({ method: Postcode.toSubDistrict, tests });
90- // });
91-
92- // it("should return undefined if invalid postcode", () => {
93- // assert.isNull(Postcode.toSubDistrict("Definitely bogus"));
94- // });
95- // });
86+ describe ( "Postcode.toSubDistrict" , ( ) => {
87+ it ( "should correctly parse sub-districts" , async ( ) => {
88+ const { tests } = await loadFixtures ( "sub-districts.json" ) ;
89+ testMethod ( { method : Postcode . toSubDistrict , tests } ) ;
90+ } ) ;
91+
92+ it ( "should return undefined if invalid postcode" , ( ) => {
93+ assert . isNull ( Postcode . toSubDistrict ( "Definitely bogus" ) ) ;
94+ } ) ;
95+ } ) ;
9696
9797describe ( "Postcode.toSector" , ( ) => {
9898 it ( "should correctly parse sectors" , async ( ) => {
You can’t perform that action at this time.
0 commit comments