Skip to content

Commit 084eed9

Browse files
WIP: taxonomy tests
1 parent 5d041f3 commit 084eed9

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

src/core/modules/taxonomies.js

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,14 @@
1-
import config from '../../../'
1+
import * as Utils from '../lib/utils';
2+
3+
4+
export default class Taxonomies {
5+
constructor() {
6+
this._query = {};
7+
return this;
8+
}
9+
10+
toJSON() {
11+
this.toJSON = true;
12+
return this;
13+
}
14+
}

test/typescript/taxonomy.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ describe("Taxonomy Tests", () => {
1212
})
1313
})
1414

15-
function createTaxonomyQuery() {
16-
return stack.taxonomies()
17-
}
15+
// function createTaxonomyQuery() {
16+
// return stack.taxonomies()
17+
// }

0 commit comments

Comments
 (0)