Skip to content

Commit

Permalink
fix mocha test
Browse files Browse the repository at this point in the history
  • Loading branch information
asukaminato0721 committed Jun 14, 2023
1 parent d0ad458 commit a5c11fb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/unit/webgl/p5.Texture.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
suite('p5.Texture', function() {
beforeEach(function(done) {
setTimeout(done, 10000);
});
var myp5;
var texImg1;
var texImg2;
Expand Down Expand Up @@ -69,8 +72,9 @@ suite('p5.Texture', function() {
};

suite('p5.Texture', function() {
test('Create and cache a single texture with p5.Image', function() {
test('Create and cache a single texture with p5.Image', function(done) {
testTextureSet(texImg1);
done();
});
test('Create and cache multiple p5.Image textures', function() {
myp5.texture(texImg2);
Expand Down

0 comments on commit a5c11fb

Please sign in to comment.