From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Piotr Rybak Date: Sun, 31 Oct 2021 17:58:09 +0900 Subject: test: fix test-datetime-change-notify after daylight change MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add standard timezone name for Dublin without daylight saving PR-URL: https://github.com/nodejs/node/pull/40684 Reviewed-By: Michaël Zasso Reviewed-By: Tobias Nießen Reviewed-By: Voltrex (cherry picked from commit 747ef34fb0c9c1f2924ab1b79ea000c87e67a8eb) diff --git a/test/parallel/test-datetime-change-notify.js b/test/parallel/test-datetime-change-notify.js index 9cd6d7abfd898ac6781b04422362a6b459b7dc2c..01843511907077857be22c9bc7e7f8568fc677d1 100644 --- a/test/parallel/test-datetime-change-notify.js +++ b/test/parallel/test-datetime-change-notify.js @@ -18,15 +18,15 @@ const cases = [ }, { timeZone: 'America/New_York', - expected: /Eastern (Standard|Daylight) Time/, + expected: /Eastern (?:Standard|Daylight) Time/, }, { timeZone: 'America/Los_Angeles', - expected: /Pacific (Standard|Daylight) Time/, + expected: /Pacific (?:Standard|Daylight) Time/, }, { timeZone: 'Europe/Dublin', - expected: /Irish/, + expected: /Irish Standard Time|Greenwich Mean Time/, }, ];