Renamed image module to image-source. Extended the testRunner to accept module name to run.

This commit is contained in:
atanasovg
2014-05-15 16:13:33 +03:00
parent 9a0fb96d62
commit c946c24ae2
17 changed files with 75 additions and 71 deletions

View File

@ -25,7 +25,7 @@ export function request(options: http.HttpRequestOptions): promises.Promise<http
raw: data,
toString: () => { return null },
toJSON: () => { return null },
toImage: () => { return require("image").fromNativeBitmap(data); }
toImage: () => { return require("image-source").fromNativeSource(data); }
},
statusCode: 0,
headers: {}