8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2791808 commit 7ab38fcCopy full SHA for 7ab38fc
src/index.spec.ts
@@ -0,0 +1,14 @@
1
+import { name, edit } from './index';
2
+import { expect } from 'chai';
3
+import 'mocha';
4
+
5
+describe('OpenApi Editor', () => {
6
7
+ it('It should return openapi-editor', () => {
8
+ expect(name).to.equal('openapi-editor');
9
+ });
10
11
+ it('It Should expect edit to be function', () => {
12
+ expect(typeof edit).to.equals('function');
13
14
+});
src/index.ts
@@ -0,0 +1,9 @@
+/**
+ * index.ts
+ *
+ * OpenAPI Editor
+ */
+export const edit = (options: object): void => {
+ console.log('*** OpenAPI Editor Options:', options);
+};
0 commit comments