weekendAssertion:AssertionFunctionSync< readonly["to be a weekend"], (subject:unknown)=>{message:string}|undefined, never, > = ...
Asserts that the subject is a weekend (Saturday or Sunday) in UTC.
Example
expect(newDate('2023-01-07'),'to be a weekend');// passes (Saturday in UTC) expect(newDate('2023-01-08'),'to be a weekend');// passes (Sunday in UTC) expect(newDate('2023-01-09'),'to be a weekend');// fails (Monday in UTC)
Asserts that the subject is a weekend (Saturday or Sunday) in UTC.