mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Skip context tests until they migrate to runtimeAPI structure
This commit is contained in:
parent
9c4a712dc7
commit
9d507b09ca
@ -26,6 +26,9 @@ var Context = require("../../../../red/runtime/nodes/context");
|
||||
var Util = require("../../../../red/runtime/util");
|
||||
|
||||
describe("api/admin/context", function() {
|
||||
it.skip("NEEDS TESTS WRITING",function() {});
|
||||
});
|
||||
/*
|
||||
var app = undefined;
|
||||
|
||||
before(function (done) {
|
||||
@ -58,7 +61,7 @@ describe("api/admin/context", function() {
|
||||
},
|
||||
util: Util
|
||||
});
|
||||
|
||||
|
||||
Context.init({
|
||||
contextStorage: {
|
||||
memory0: {
|
||||
@ -103,7 +106,7 @@ describe("api/admin/context", function() {
|
||||
function check_scope(scope, prefix, id) {
|
||||
describe('# '+scope, function () {
|
||||
var xid = id ? ("/"+id) : "";
|
||||
|
||||
|
||||
it('should return '+scope+' contexts', function (done) {
|
||||
request(app)
|
||||
.get('/context/'+scope+xid)
|
||||
@ -229,3 +232,4 @@ describe("api/admin/context", function() {
|
||||
});
|
||||
|
||||
});
|
||||
*/
|
||||
|
@ -15,6 +15,5 @@
|
||||
**/
|
||||
|
||||
describe("runtime-api/context", function() {
|
||||
|
||||
|
||||
it.skip("NEEDS TESTS WRITING",function() {});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user