mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fixing tests by clearing out the node registry between tests.
This commit is contained in:
parent
38c541361e
commit
118c50ce8e
@ -24,6 +24,10 @@ describe('XML node', function() {
|
|||||||
helper.startServer(done);
|
helper.startServer(done);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
afterEach(function() {
|
||||||
|
helper.unload();
|
||||||
|
});
|
||||||
|
|
||||||
it('should be loaded', function(done) {
|
it('should be loaded', function(done) {
|
||||||
var flow = [{id:"xmlNode1", type:"xml", name: "xmlNode" }];
|
var flow = [{id:"xmlNode1", type:"xml", name: "xmlNode" }];
|
||||||
helper.load(xmlNode, flow, function() {
|
helper.load(xmlNode, flow, function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user