GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: run Temporal presence checks without V8 flag · nodejs/node@c73aba0

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test
    • common
      • index.js
      • index.mjs
    • parallel
      • test-temporal-with-zoneinfo.js
      • test-temporal.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/common/index.js‎

Copy file name to clipboardExpand all lines: test/common/index.js
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ const tmpdir = require('./tmpdir');
3535
const bits = ['arm64', 'loong64', 'mips', 'mipsel', 'ppc64', 'riscv64', 's390x', 'x64']
3636
.includes(process.arch) ? 64 : 32;
3737
const hasIntl = !!process.config.variables.v8_enable_i18n_support;
38+
const hasTemporal = !!process.config.variables.v8_enable_temporal_support;
3839

3940
// small-icu doesn't support non-English locales
4041
const hasFullICU = (() => {
@@ -980,6 +981,7 @@ const common = {
980981
getBufferSources,
981982
getTTYfd,
982983
hasIntl,
984+
hasTemporal,
983985
hasFullICU,
984986
hasCrypto,
985987
hasQuic,
Collapse file

‎test/common/index.mjs‎

Copy file name to clipboardExpand all lines: test/common/index.mjs
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const {
2222
hasFFI,
2323
hasLocalStorage,
2424
hasIntl,
25+
hasTemporal,
2526
hasIPv6,
2627
isAIX,
2728
isAlive,
@@ -78,6 +79,7 @@ export {
7879
hasFFI,
7980
hasLocalStorage,
8081
hasIntl,
82+
hasTemporal,
8183
hasIPv6,
8284
isAIX,
8385
isAlive,
Collapse file

‎test/parallel/test-temporal-with-zoneinfo.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-temporal-with-zoneinfo.js
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
// Flags: --harmony-temporal
2-
31
'use strict';
42
const common = require('../common');
53
const assert = require('assert');
64

7-
if (!process.config.variables.v8_enable_temporal_support) {
5+
if (!common.hasTemporal) {
86
common.skip('Temporal is not enabled');
97
}
108

Collapse file

‎test/parallel/test-temporal.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-temporal.js
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
// Flags: --harmony-temporal
2-
31
'use strict';
42
const common = require('../common');
53
const assert = require('assert');
64

7-
if (!process.config.variables.v8_enable_temporal_support) {
5+
if (!common.hasTemporal) {
86
common.skip('Temporal is not enabled');
97
}
108

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.