chore(tests): consistent captures

This commit is contained in:
Christian Clason 2023-12-24 12:52:21 +01:00
parent 17fae3f4a3
commit 10dd49958c
60 changed files with 872 additions and 873 deletions

View file

@ -1,32 +1,32 @@
class H {
pub_field = "Hello";
// ^ property
// ^ @property
#priv_field = "World!";
// ^ property
// ^ @property
#private_method() {
// ^ method
// ^ @method
return `${this.pub_field} -- ${this.#priv_field}`;
// ^ property
// ^ property
// ^ @property
// ^ @property
}
public_method() {
// ^ method
// ^ @method
return this.#private_method();
// ^ method.call
// ^ @method.call
}
ok() {
return this.public_method();
// ^ method.call
// ^ @method.call
}
}
function doSomething(options) {
const {
enable: on,
// ^ punctuation.delimiter
// ^ @punctuation.delimiter
} = options
}