summaryrefslogtreecommitdiff
path: root/js/test_util.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-04-21 16:40:10 -0400
committerGitHub <noreply@github.com>2019-04-21 16:40:10 -0400
commit9dfebbc9496138efbeedc431068f41662c780f3e (patch)
treec3718c3dc132d11c08c8fc18933daebf886bf787 /js/test_util.ts
parent6cded14bdf313762956d4d5361cfe8115628b535 (diff)
Fix eslint warnings (#2151)
Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com> Co-authored-by: LE GOFF Vincent <g_n_s@hotmail.fr>
Diffstat (limited to 'js/test_util.ts')
-rw-r--r--js/test_util.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/test_util.ts b/js/test_util.ts
index 413b287a1..9608c31a9 100644
--- a/js/test_util.ts
+++ b/js/test_util.ts
@@ -77,7 +77,7 @@ export function test(fn: testing.TestFunction): void {
);
}
-test(function permSerialization() {
+test(function permSerialization(): void {
for (const write of [true, false]) {
for (const net of [true, false]) {
for (const env of [true, false]) {
@@ -103,7 +103,7 @@ test(function permSerialization() {
// To better catch internal errors, permFromString should throw if it gets an
// invalid permission string.
-test(function permFromStringThrows() {
+test(function permFromStringThrows(): void {
let threw = false;
try {
permFromString("bad");