Skip to content

Commit 8ef51c4

Browse files
committed
JS: Fix wrong expectation in UnusedOrUndefinedStateProperty
1 parent 87ed86e commit 8ef51c4

File tree

1 file changed

+1
-1
lines changed
  • javascript/ql/test/query-tests/React/UnusedOrUndefinedStateProperty

1 file changed

+1
-1
lines changed

javascript/ql/test/query-tests/React/UnusedOrUndefinedStateProperty/unused.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function f(s){
1818
}
1919
class C2 extends React.Component {
2020
constructor() {
21-
this.state.readWhenEscaped = 42; // $ MISSING: Alert
21+
this.state.readWhenEscaped = 42;
2222
f(this.state);
2323
}
2424
}

0 commit comments

Comments
 (0)