Skip to content

Commit 22458d2

Browse files
WIP: added taxonomy files
1 parent ff4533b commit 22458d2

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

src/core/modules/taxonomies.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import config from '../../../'

test/typescript/taxonomy.test.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import * as Contentstack from '../..';
2+
3+
const stack = Contentstack.Stack({ api_key: 'api_key', delivery_token: 'delivery_token', environment: 'environment', fetchOptions: {
4+
logHandler: () => {
5+
6+
}
7+
}});
8+
9+
describe("Taxonomy Tests", () => {
10+
test("Get all taxonomies", done => {
11+
done()
12+
})
13+
})
14+
15+
function createTaxonomyQuery() {
16+
return stack.taxonomies()
17+
}

0 commit comments

Comments
 (0)