mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-23 02:48:21 +00:00
fix(@embark/mocha-tests): change self
to this
in mocha-tests
This commit is contained in:
parent
e65c4d26e0
commit
c07ac55d70
@ -203,8 +203,8 @@ class MochaTestRunner {
|
||||
|
||||
this.fs.readFile(file, (err, data) => {
|
||||
if (err) {
|
||||
self.logger.error(__('Error reading file %s', file));
|
||||
self.logger.error(err);
|
||||
this.logger.error(__('Error reading file %s', file));
|
||||
this.logger.error(err);
|
||||
seriesCb(null, 1);
|
||||
}
|
||||
if (data.toString().search(/contract\(|describe\(/) === -1) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user