Skip to content

Commit 87864fc

Browse files
committed
SONARJS-603 Add unit test
1 parent 930fea4 commit 87864fc

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

javascript-checks/src/test/resources/checks/semicolon.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,8 @@ export default {prop: value} // NOK
7070

7171
export * from "moduleName"; // OK
7272
export default new C(); // OK
73+
74+
function foo() {
75+
class A { // OK
76+
}
77+
}

0 commit comments

Comments
 (0)