| Index: qunit/tests/prefs.js |
| =================================================================== |
| --- a/qunit/tests/prefs.js |
| +++ b/qunit/tests/prefs.js |
| @@ -1,11 +1,10 @@ |
| "use strict"; |
| -(function() |
| { |
| const {Prefs} = require("prefs"); |
| module("Preferences", { |
| setup() |
| { |
| this._pbackup = Object.create(null); |
| for (let pref in Prefs) |
| @@ -155,9 +154,9 @@ |
| delete Prefs.notificationdata.bar; |
| Prefs.notificationdata = JSON.parse(JSON.stringify(Prefs.notificationdata)); |
| deepEqual( |
| Prefs.notificationdata, {}, |
| "Prefs object returns the correct value after setting pref to " + |
| "default value" |
| ); |
| }); |
| -}()); |
| +} |