Skip to content

Commit 233d8e0

Browse files
committed
Adjust test screenshot
1 parent dd19575 commit 233d8e0

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,12 @@ jobs:
4747
# - name: Test - MacOS
4848
# if: matrix.os == 'macos-14'
4949
# run: npm run test-ci
50+
51+
- uses: actions/upload-artifact@v4
52+
if: matrix.os != 'macos-14'
53+
with:
54+
name: __diff__
55+
path: test/__diff__
56+
retention-days: 1
57+
compression-level: 0
58+
overwrite: true

__screenshots__/box.png

-136 KB
Loading

test/init.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ const glfw = require('glfw-raub');
55
const { init, addThreeHelpers } = require('..');
66

77
const initOptsLinux = {
8+
width: 400, height: 400,
89
isGles3: true,
910
isWebGL2: true,
1011
};
1112
const initOpts = {
13+
width: 400, height: 400,
1214
isGles3: false,
1315
major: 2,
1416
minor: 1,

0 commit comments

Comments
 (0)