Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dragBoxLayer test refactor #2951

Merged
merged 2 commits into from
Nov 10, 2015
Merged

dragBoxLayer test refactor #2951

merged 2 commits into from
Nov 10, 2015

Conversation

ztsai
Copy link
Contributor

@ztsai ztsai commented Nov 10, 2015

screen shot 2015-11-09 at 5 38 49 pm

part of #2623
second pass; mostly let to const change

@ztsai ztsai added this to the v1.18.0 milestone Nov 10, 2015
@@ -61,45 +82,46 @@ describe("Layer Components", () => {
assert.strictEqual(dbl.detectionRadius(5), dbl, "setting the detection radius returns the drag box layer");
assert.strictEqual(dbl.detectionRadius(), 5, "can retrieve the detection radius");

assert.throws(() => dbl.detectionRadius(-1), "detection radius cannot be negative");
(<any> assert).throws(() => dbl.detectionRadius(-1), Error, "detection radius cannot be negative", "fails to set negative radius");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you tag this with the appropriate HACKHACK (#2661) ?

@jtlan jtlan assigned ztsai and unassigned jtlan Nov 10, 2015
@ztsai ztsai added the NOQE label Nov 10, 2015
@ztsai ztsai assigned jtlan and unassigned ztsai Nov 10, 2015
@jtlan jtlan added +1 and removed Status: In CR labels Nov 10, 2015
@jtlan jtlan removed their assignment Nov 10, 2015
@ztsai ztsai self-assigned this Nov 10, 2015
ztsai added a commit that referenced this pull request Nov 10, 2015
@ztsai ztsai merged commit 49497b2 into develop Nov 10, 2015
@ztsai ztsai deleted the dragBoxLayerTests branch November 10, 2015 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants