Commit Graph

3 Commits

Author SHA1 Message Date
Tobias Speicher 8f56fcba72
Replace deprecated String.prototype.substr()
String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr) so we replace it with slice() which works similarily but isn't deprecated.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-03-13 22:54:18 +01:00
Tobias Koppers 4e70b37579 test typings and fix type problems in loaders in the test suite 2021-04-22 21:48:47 +02:00
Tobias Koppers 78e940d6b6 add test case for emitError and emitWarning 2016-12-14 14:36:27 +01:00