Bug 1437828 - Manual eslint fix. r=jryans
MozReview-Commit-ID: 6L302w5vUa8
--- a/devtools/server/tests/unit/test_sourcemaps-16.js
+++ b/devtools/server/tests/unit/test_sourcemaps-16.js
@@ -16,29 +16,30 @@ function run_test() {
gDebuggee = addTestGlobal("test-sourcemaps");
gClient = new DebuggerClient(DebuggerServer.connectPipe());
gClient.connect().then(function () {
attachTestThread(gClient, "test-sourcemaps", testSourcemap);
});
do_test_pending();
}
-const testSourcemap = async function (threadResponse, tabClient, threadClient, tabResponse) {
- evalTestCode();
+const testSourcemap = async function (threadResponse, tabClient, threadClient,
+ tabResponse) {
+ evalTestCode();
- const { sources } = await getSources(threadClient);
+ const { sources } = await getSources(threadClient);
- for (let form of sources) {
- let sourceResponse = await getSourceContent(threadClient.source(form));
- ok(sourceResponse, "Should be able to get the source response");
- ok(sourceResponse.source, "Should have the source text as well");
- }
+ for (let form of sources) {
+ let sourceResponse = await getSourceContent(threadClient.source(form));
+ ok(sourceResponse, "Should be able to get the source response");
+ ok(sourceResponse.source, "Should have the source text as well");
+ }
- finishClient(gClient);
- };
+ finishClient(gClient);
+};
const TEST_FILE = "babel_and_browserify_script_with_source_map.js";
function evalTestCode() {
const testFileContents = readFile(TEST_FILE);
Cu.evalInSandbox(testFileContents,
gDebuggee,
"1.8",