mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Reset settings between tests
This commit is contained in:
@@ -20,6 +20,11 @@ var settings = require("../../red/settings");
|
||||
|
||||
|
||||
describe("red/settings", function() {
|
||||
|
||||
afterEach(function() {
|
||||
settings.reset();
|
||||
});
|
||||
|
||||
it('wraps the user settings as read-only properties', function() {
|
||||
var userSettings = {
|
||||
a: 123,
|
||||
|
Reference in New Issue
Block a user