Bug 104442 - Part 3: Add test input for mocha test. r=nchevobbe
authorTooru Fujisawa <arai_a@mac.com>
Sat, 25 Feb 2017 12:52:33 +0900
changeset 489644 b90365c52f059c88f1a4ad8358781378da438f87
parent 489643 175610403a4ebb73d3e99ef36762fc4e8d6f8efd
child 489645 12c83a596d7b21cda79ee07c0d196139b5ddff3c
push id46871
push userbmo:sledru@mozilla.com
push dateSat, 25 Feb 2017 12:16:21 +0000
reviewersnchevobbe
bugs104442
milestone54.0a1
Bug 104442 - Part 3: Add test input for mocha test. r=nchevobbe
devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/stub-snippets.js
--- a/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/stub-snippets.js
+++ b/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/stub-snippets.js
@@ -146,15 +146,19 @@ pageError.set("Reference Error", `
   }
   function foo() {
     bar()
   }
 
   foo()
 `);
 
+pageError.set("Redeclaration Error", `
+  let a, a;
+`);
+
 module.exports = {
   consoleApi,
   cssMessage,
   evaluationResult,
   networkEvent,
   pageError,
 };