Browse Source

Add an incompatible package for tests

Steven Silvester 8 years ago
parent
commit
d5b56e428d

+ 13 - 0
jupyterlab/tests/mockextension-incompat/index.js

@@ -0,0 +1,13 @@
+// Copyright (c) Jupyter Development Team.
+// Distributed under the terms of the Modified BSD License.
+
+module.exports = [
+{
+  id: 'mockextension',
+  autoStart: true,
+  activate: function(application) {
+    console.log('mock extension activated')
+    window.commands = application.commands;
+  }
+}
+]

+ 10 - 0
jupyterlab/tests/mockextension-incompat/package.json

@@ -0,0 +1,10 @@
+{
+  "name": "@jupyterlab/python-tests",
+  "version": "0.1.0",
+  "private": true,
+  "jupyterlab": { "extension": true },
+  "dependencies": {
+    "@jupyterlab/application": "^0.5.0"
+  },
+  "devDependencies": {}
+}