Skip to content

Commit 355a05b

Browse files
committed
Add proper output fixture
1 parent 1664858 commit 355a05b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

fixtures/glsl/output.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
const glsl = require('glslify')
2+
glsl(["#define GLSLIFY 1\nvoid main () { gl_Position = vec4(1); }\n"])

test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ test('glsl-transform', function (t) {
9393
const wpack = which.sync('webpack', { cwd: __dirname })
9494
const input = path.join(__dirname, 'fixtures', 'glsl', 'index.js')
9595
const output = path.join(__dirname, 'fixtures', 'glsl', 'bundle.js')
96-
const pkg = path.join(__dirname, 'fixtures', 'glsl', 'package.json')
96+
const pkg = path.join(__dirname, 'fixtures', 'glsl', 'output.js')
9797

9898
t.plan(1)
9999

0 commit comments

Comments
 (0)