@@ -32,7 +32,7 @@ describe("PropertyValidator", () => {
3232 it ( "should validate a valid geoJSON property" , ( ) => {
3333 const property = {
3434 trait_type : "geoJSON" ,
35- type : "applications /geo+json" ,
35+ type : "application /geo+json" ,
3636 src : "ipfs://QmExample" ,
3737 name : "location.geojson" ,
3838 } ;
@@ -45,7 +45,7 @@ describe("PropertyValidator", () => {
4545 it ( "should accept HTTPS source" , ( ) => {
4646 const property = {
4747 trait_type : "geoJSON" ,
48- type : "applications /geo+json" ,
48+ type : "application /geo+json" ,
4949 src : "https://example.com/location.geojson" ,
5050 name : "location.geojson" ,
5151 } ;
@@ -67,14 +67,14 @@ describe("PropertyValidator", () => {
6767 expect ( result . errors ) . to . deep . include ( {
6868 field : "type" ,
6969 code : "invalid_mime_type" ,
70- message : "GeoJSON type must be applications /geo+json" ,
70+ message : "GeoJSON type must be application /geo+json" ,
7171 } ) ;
7272 } ) ;
7373
7474 it ( "should reject invalid source URL" , ( ) => {
7575 const property = {
7676 trait_type : "geoJSON" ,
77- type : "applications /geo+json" ,
77+ type : "application /geo+json" ,
7878 src : "invalid://QmExample" ,
7979 name : "location.geojson" ,
8080 } ;
@@ -91,7 +91,7 @@ describe("PropertyValidator", () => {
9191 it ( "should reject invalid file extension" , ( ) => {
9292 const property = {
9393 trait_type : "geoJSON" ,
94- type : "applications /geo+json" ,
94+ type : "application /geo+json" ,
9595 src : "ipfs://QmExample" ,
9696 name : "location.wrong" ,
9797 } ;
0 commit comments