Stage 1-4: Update tests

This commit is contained in:
Tooru Fujisawa 2019-02-03 08:21:19 +01:00 committed by Roy Tam
commit 5676f63f41
23 changed files with 434 additions and 63 deletions

View file

@ -29,12 +29,12 @@ function run_test_with_server(server, cb) {
addSources(debuggee);
threadClient.getSources(Task.async(function* (res) {
do_check_true(res.sources.length === 3, "3 sources exist");
do_check_eq(res.sources.length, 3, "3 sources exist");
yield threadClient.reconfigure({ useSourceMaps: false });
threadClient.getSources(function(res) {
do_check_true(res.sources.length === 1, "1 source exist");
do_check_eq(res.sources.length, 1, "1 source exist");
client.close().then(cb);
});
}));