mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Start bringing the tests back from the brink
This commit is contained in:
		
							
								
								
									
										19
									
								
								test/red/runtime-api/comms_spec.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								test/red/runtime-api/comms_spec.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| /** | ||||
|  * Copyright JS Foundation and other contributors, http://js.foundation | ||||
|  * | ||||
|  * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|  * you may not use this file except in compliance with the License. | ||||
|  * You may obtain a copy of the License at | ||||
|  * | ||||
|  * http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  * | ||||
|  * Unless required by applicable law or agreed to in writing, software | ||||
|  * distributed under the License is distributed on an "AS IS" BASIS, | ||||
|  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|  * See the License for the specific language governing permissions and | ||||
|  * limitations under the License. | ||||
|  **/ | ||||
|  | ||||
| describe("runtime-api/comms", function() { | ||||
|     it.skip('more tests needed', function(){}) | ||||
| }); | ||||
							
								
								
									
										19
									
								
								test/red/runtime-api/flows_spec.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								test/red/runtime-api/flows_spec.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| /** | ||||
|  * Copyright JS Foundation and other contributors, http://js.foundation | ||||
|  * | ||||
|  * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|  * you may not use this file except in compliance with the License. | ||||
|  * You may obtain a copy of the License at | ||||
|  * | ||||
|  * http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  * | ||||
|  * Unless required by applicable law or agreed to in writing, software | ||||
|  * distributed under the License is distributed on an "AS IS" BASIS, | ||||
|  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|  * See the License for the specific language governing permissions and | ||||
|  * limitations under the License. | ||||
|  **/ | ||||
|  | ||||
| describe("runtime-api/flows", function() { | ||||
|     it.skip('more tests needed', function(){}) | ||||
| }); | ||||
							
								
								
									
										19
									
								
								test/red/runtime-api/index_spec.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								test/red/runtime-api/index_spec.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| /** | ||||
|  * Copyright JS Foundation and other contributors, http://js.foundation | ||||
|  * | ||||
|  * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|  * you may not use this file except in compliance with the License. | ||||
|  * You may obtain a copy of the License at | ||||
|  * | ||||
|  * http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  * | ||||
|  * Unless required by applicable law or agreed to in writing, software | ||||
|  * distributed under the License is distributed on an "AS IS" BASIS, | ||||
|  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|  * See the License for the specific language governing permissions and | ||||
|  * limitations under the License. | ||||
|  **/ | ||||
|  | ||||
| describe("runtime-api/index", function() { | ||||
|     it.skip('more tests needed', function(){}) | ||||
| }); | ||||
							
								
								
									
										19
									
								
								test/red/runtime-api/library_spec.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								test/red/runtime-api/library_spec.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| /** | ||||
|  * Copyright JS Foundation and other contributors, http://js.foundation | ||||
|  * | ||||
|  * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|  * you may not use this file except in compliance with the License. | ||||
|  * You may obtain a copy of the License at | ||||
|  * | ||||
|  * http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  * | ||||
|  * Unless required by applicable law or agreed to in writing, software | ||||
|  * distributed under the License is distributed on an "AS IS" BASIS, | ||||
|  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|  * See the License for the specific language governing permissions and | ||||
|  * limitations under the License. | ||||
|  **/ | ||||
|  | ||||
| describe("runtime-api/library", function() { | ||||
|     it.skip('more tests needed', function(){}) | ||||
| }); | ||||
							
								
								
									
										19
									
								
								test/red/runtime-api/nodes_spec.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								test/red/runtime-api/nodes_spec.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| /** | ||||
|  * Copyright JS Foundation and other contributors, http://js.foundation | ||||
|  * | ||||
|  * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|  * you may not use this file except in compliance with the License. | ||||
|  * You may obtain a copy of the License at | ||||
|  * | ||||
|  * http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  * | ||||
|  * Unless required by applicable law or agreed to in writing, software | ||||
|  * distributed under the License is distributed on an "AS IS" BASIS, | ||||
|  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|  * See the License for the specific language governing permissions and | ||||
|  * limitations under the License. | ||||
|  **/ | ||||
|  | ||||
| describe("runtime-api/nodes", function() { | ||||
|     it.skip('more tests needed', function(){}) | ||||
| }); | ||||
							
								
								
									
										19
									
								
								test/red/runtime-api/projects_spec.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								test/red/runtime-api/projects_spec.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| /** | ||||
|  * Copyright JS Foundation and other contributors, http://js.foundation | ||||
|  * | ||||
|  * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|  * you may not use this file except in compliance with the License. | ||||
|  * You may obtain a copy of the License at | ||||
|  * | ||||
|  * http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  * | ||||
|  * Unless required by applicable law or agreed to in writing, software | ||||
|  * distributed under the License is distributed on an "AS IS" BASIS, | ||||
|  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|  * See the License for the specific language governing permissions and | ||||
|  * limitations under the License. | ||||
|  **/ | ||||
|  | ||||
| describe("runtime-api/projects", function() { | ||||
|     it.skip('more tests needed', function(){}) | ||||
| }); | ||||
							
								
								
									
										19
									
								
								test/red/runtime-api/settings_spec.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								test/red/runtime-api/settings_spec.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| /** | ||||
|  * Copyright JS Foundation and other contributors, http://js.foundation | ||||
|  * | ||||
|  * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|  * you may not use this file except in compliance with the License. | ||||
|  * You may obtain a copy of the License at | ||||
|  * | ||||
|  * http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  * | ||||
|  * Unless required by applicable law or agreed to in writing, software | ||||
|  * distributed under the License is distributed on an "AS IS" BASIS, | ||||
|  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|  * See the License for the specific language governing permissions and | ||||
|  * limitations under the License. | ||||
|  **/ | ||||
|  | ||||
| describe("runtime-api/settings", function() { | ||||
|     it.skip('more tests needed', function(){}) | ||||
| }); | ||||
							
								
								
									
										19
									
								
								test/red/runtime/library/index_spec.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								test/red/runtime/library/index_spec.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| /** | ||||
|  * Copyright JS Foundation and other contributors, http://js.foundation | ||||
|  * | ||||
|  * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|  * you may not use this file except in compliance with the License. | ||||
|  * You may obtain a copy of the License at | ||||
|  * | ||||
|  * http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  * | ||||
|  * Unless required by applicable law or agreed to in writing, software | ||||
|  * distributed under the License is distributed on an "AS IS" BASIS, | ||||
|  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|  * See the License for the specific language governing permissions and | ||||
|  * limitations under the License. | ||||
|  **/ | ||||
|  | ||||
| describe("runtime/library", function() { | ||||
|     it.skip('more tests needed', function(){}) | ||||
| }); | ||||
| @@ -14,9 +14,9 @@ | ||||
|  * limitations under the License. | ||||
|  **/ | ||||
| 
 | ||||
| describe("runtime/i18n", function() { | ||||
| describe("util/i18n", function() { | ||||
|     it('can be required without errors', function() { | ||||
|         require("../../../red/runtime/i18n"); | ||||
|         require("../../../red/util/i18n"); | ||||
|     }); | ||||
|     it.skip('more tests needed', function(){}) | ||||
| }); | ||||
							
								
								
									
										19
									
								
								test/red/util/index_spec.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								test/red/util/index_spec.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| /** | ||||
|  * Copyright JS Foundation and other contributors, http://js.foundation | ||||
|  * | ||||
|  * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|  * you may not use this file except in compliance with the License. | ||||
|  * You may obtain a copy of the License at | ||||
|  * | ||||
|  * http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  * | ||||
|  * Unless required by applicable law or agreed to in writing, software | ||||
|  * distributed under the License is distributed on an "AS IS" BASIS, | ||||
|  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|  * See the License for the specific language governing permissions and | ||||
|  * limitations under the License. | ||||
|  **/ | ||||
|  | ||||
| describe("util", function() { | ||||
|     it.skip('more tests needed', function(){}) | ||||
| }); | ||||
| @@ -16,9 +16,9 @@ | ||||
| var should = require("should"); | ||||
| var sinon = require("sinon"); | ||||
| var util = require("util"); | ||||
| var log = require("../../../red/runtime/log"); | ||||
| var log = require("../../../red/util/log"); | ||||
| 
 | ||||
| describe("runtime/log", function() { | ||||
| describe("util/log", function() { | ||||
|     beforeEach(function () { | ||||
|         var spy = sinon.stub(util, 'log', function(arg){}); | ||||
|         var settings = {logging: { console: { level: 'metric', metrics: true } } }; | ||||
		Reference in New Issue
	
	Block a user