Skip to content

Commit

Permalink
Tools: Ported test tools to TypeScript.
Browse files Browse the repository at this point in the history
  • Loading branch information
bre1470 committed Mar 26, 2019
1 parent 891c59a commit 70047b4
Show file tree
Hide file tree
Showing 14 changed files with 2,153 additions and 1,288 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
"devDependencies": {
"@babel/core": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"@types/jquery": "^3.3.29",
"@types/qunit": "^2.5.4",
"acorn": "^6.1.1",
"aws-sdk": "^2.388.0",
"babel-plugin-transform-es2015-arrow-functions": "^6.8.0",
Expand Down Expand Up @@ -95,7 +97,7 @@
"semver": "^5.6.0",
"semver-sort": "0.0.4",
"taffydb": "^2.7.3",
"typescript": "^3.3.4",
"typescript": "3.1.6",
"undertaker-forward-reference": "^1.0.2",
"vinyl-ftp": "^0.6.1",
"webpack": "^4.29.6",
Expand Down
2 changes: 1 addition & 1 deletion samples/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ emulate a mouse event on a specific target, its position can be found using

```js
// Instanciate
var controller = TestController(chart);
var controller = new TestController(chart);

// Simulate panning with the shift key pressed. X and Y are chart coordinates.
controller.pan([200, 100], [150, 100], { shiftKey: true });
Expand Down
3 changes: 3 additions & 0 deletions test/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/test-controller.js
/test-template.js
/test-utilities.js
Loading

0 comments on commit 70047b4

Please sign in to comment.