Skip to content

Commit 4a13c85

Browse files
committed
Keep Linux core tests on Xvfb path
1 parent 831361a commit 4a13c85

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

test/init.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
// oxlint-disable node/no-process-env
21
import { platform } from 'node:process';
32
import * as three from 'three';
43
import type { TGlfw, TInitOpts } from '../ts/types.ts';
54

6-
const isCi = process.env.CI === 'true' || process.env.GITHUB_ACTIONS === 'true';
7-
const shouldUseHeadlessGlfw = platform === 'darwin' || (platform === 'linux' && isCi);
5+
const shouldUseHeadlessGlfw = platform === 'darwin';
86

97
const applyHeadlessWindowHints = (currentGlfw: TGlfw): void => {
108
currentGlfw.windowHint(currentGlfw.VISIBLE, currentGlfw.FALSE);

0 commit comments

Comments
 (0)