@@ -48,7 +48,7 @@ import type { LocalNode } from "./interfaces";
4848import { localNodeSkolemPrefix } from "./rdf.internal" ;
4949
5050describe ( "stress-testing serialisations" , ( ) => {
51- it ( "should always return the input value when serialising , then deserialing a boolean" , ( ) => {
51+ it ( "should always return the input value when serializing , then deserializing a boolean" , ( ) => {
5252 const runs = 100 ;
5353 expect . assertions ( runs + 2 ) ;
5454
@@ -65,12 +65,12 @@ describe("stress-testing serialisations", () => {
6565 expect ( fcResult . failed ) . toBe ( false ) ;
6666 } ) ;
6767
68- it ( "should always return the input value when serialising , then deserialing a datetime" , ( ) => {
68+ it ( "should always return the input value when serializing , then deserializing a datetime" , ( ) => {
6969 const runs = 100 ;
7070 expect . assertions ( runs + 2 ) ;
7171
7272 const fcResult = fc . check (
73- fc . property ( fc . date ( ) , ( inputDatetime ) => {
73+ fc . property ( fc . date ( { noInvalidDate : true } ) , ( inputDatetime ) => {
7474 expect (
7575 deserializeDatetime ( serializeDatetime ( inputDatetime ) ) ?. getTime ( ) ,
7676 ) . toBe ( inputDatetime . getTime ( ) ) ;
@@ -82,11 +82,11 @@ describe("stress-testing serialisations", () => {
8282 expect ( fcResult . failed ) . toBe ( false ) ;
8383 } ) ;
8484
85- it ( "should always return the input value when serialising -0, then deserialing to 0" , ( ) => {
85+ it ( "should always return the input value when serializing -0, then deserializing to 0" , ( ) => {
8686 expect ( deserializeDecimal ( serializeDecimal ( - 0 ) ) ) . toBe ( 0 ) ;
8787 } ) ;
8888
89- it ( "should always return the input value when serialising , then deserialing a decimal" , ( ) => {
89+ it ( "should always return the input value when serializing , then deserializing a decimal" , ( ) => {
9090 const runs = 100 ;
9191 expect . assertions ( runs + 2 ) ;
9292
@@ -103,7 +103,7 @@ describe("stress-testing serialisations", () => {
103103 expect ( fcResult . failed ) . toBe ( false ) ;
104104 } ) ;
105105
106- it ( "should always return the input value when serialising , then deserialing a integer" , ( ) => {
106+ it ( "should always return the input value when serializing , then deserializing a integer" , ( ) => {
107107 const runs = 100 ;
108108 expect . assertions ( runs + 2 ) ;
109109
0 commit comments