Implement prefer-template tslint rule

This commit is contained in:
kao
2018-12-07 16:35:00 -08:00
parent aa4fcebdc7
commit f14603ca4d
12 changed files with 18 additions and 17 deletions

View File

@@ -137,7 +137,7 @@ export async function expectTransactionFailedWithoutReasonAsync(p: sendTransacti
// directly.
txReceiptStatus = result.status;
} else {
throw new Error('Unexpected result type: ' + typeof result);
throw new Error(`Unexpected result type: ${typeof result}`);
}
expect(_.toString(txReceiptStatus)).to.equal(
'0',