Skip to content

Commit

Permalink
Added smoke tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
vanruesc committed Oct 31, 2018
1 parent 0fa008e commit e36427a
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/effects/SSAOEffect.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import test from "ava";
import { SSAOEffect } from "../../build/postprocessing.js";

test("can be created and destroyed", t => {

const object = new SSAOEffect(null);
object.dispose();

t.truthy(object);

});
11 changes: 11 additions & 0 deletions test/passes/DepthPass.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import test from "ava";
import { DepthPass } from "../../build/postprocessing.js";

test("can be created and destroyed", t => {

const object = new DepthPass();
object.dispose();

t.truthy(object);

});
11 changes: 11 additions & 0 deletions test/passes/NormalPass.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import test from "ava";
import { NormalPass } from "../../build/postprocessing.js";

test("can be created and destroyed", t => {

const object = new NormalPass();
object.dispose();

t.truthy(object);

});

0 comments on commit e36427a

Please sign in to comment.