From 42d99d17a0d3cb6d75d559eb2b85decb9d9752ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89tienne=20T=C3=A9treault-Pinard?= <etienne@plot.ly>
Date: Mon, 22 Aug 2016 13:43:38 -0400
Subject: [PATCH] fix register call in gl2d test suite

---
 test/jasmine/tests/gl2d_scatterplot_contour_test.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/jasmine/tests/gl2d_scatterplot_contour_test.js b/test/jasmine/tests/gl2d_scatterplot_contour_test.js
index 92430b62635..de7533e16e0 100644
--- a/test/jasmine/tests/gl2d_scatterplot_contour_test.js
+++ b/test/jasmine/tests/gl2d_scatterplot_contour_test.js
@@ -5,10 +5,10 @@ var Lib = require('@src/lib');
 var d3 = require('d3');
 
 // heatmapgl & contourgl is not part of the dist plotly.js bundle initially
-Plotly.register(
+Plotly.register([
     require('@lib/heatmapgl'),
     require('@lib/contourgl')
-);
+]);
 
 // Test utilities
 var createGraphDiv = require('../assets/create_graph_div');