mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-04 00:02:03 +08:00
refactor(check_reqs): drop originalError param from check_android_target (#1260)
This commit is contained in:
committed by
GitHub
parent
334d02d26e
commit
6f35d0b2b7
@@ -224,7 +224,7 @@ describe('ProjectBuilder', () => {
|
||||
return builder.build({}).then(
|
||||
() => fail('Unexpectedly resolved'),
|
||||
error => {
|
||||
expect(checkReqsSpy.check_android_target).toHaveBeenCalledWith(testError);
|
||||
expect(checkReqsSpy.check_android_target).toHaveBeenCalled();
|
||||
expect(error).toBe(testError);
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user