1
0
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:
hbeeken 2014-08-04 10:59:08 +01:00
parent 38c541361e
commit 118c50ce8e

View File

@ -23,6 +23,10 @@ describe('XML node', function() {
before(function(done) {
helper.startServer(done);
});
afterEach(function() {
helper.unload();
});
it('should be loaded', function(done) {
var flow = [{id:"xmlNode1", type:"xml", name: "xmlNode" }];