Skip to content

Commit

Permalink
spec: skip specs where set TZ environment variable for WASI
Browse files Browse the repository at this point in the history
WASI doesn't respect TZ env var for now
  • Loading branch information
kateinoigakukun authored and eregon committed Mar 28, 2022
1 parent 2bc5107 commit 5e36c68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/mspec/helpers/datetime.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def new_datetime(opts = {})
end

def with_timezone(name, offset = nil, daylight_saving_zone = "")
skip "WASI doesn't have TZ concept" if PlatformGuard.wasi?
zone = name.dup

if offset
Expand Down

0 comments on commit 5e36c68

Please sign in to comment.