1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Move tests to reflect package structure

This commit is contained in:
Nick O'Leary 2018-08-19 11:28:03 +01:00
parent 974ba40f28
commit 998bf92ad4
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
118 changed files with 39 additions and 26 deletions

1
.gitignore vendored
View File

@ -19,3 +19,4 @@ locales/zz-ZZ
nodes/core/locales/zz-ZZ
!packages/node_modules
packages/node_modules/@node-red/editor-client/public
!test/**/node_modules

View File

@ -24,7 +24,7 @@ catch(e) { bcrypt = require('bcryptjs'); }
var nopt = require("nopt");
var path = require("path");
var fs = require("fs-extra");
var RED = require("./red/red.js");
var RED = require("./lib/red.js");
var server;
var app = express();

View File

@ -0,0 +1,4 @@
<script type="text/x-red" data-template-name="should-not-load-2"></script>
<script type="text/x-red" data-help-name="should-not-load-2"></script>
<script type="text/javascript">RED.nodes.registerType('should-not-load-2',{});</script>
<style></style>

View File

@ -0,0 +1,5 @@
// A test node that exports a function
module.exports = function(RED) {
function TestNode(n) {}
RED.nodes.registerType("should-not-load-2",TestNode);
}

Some files were not shown because too many files have changed in this diff Show More