Skip to content

Commit 6f4045a

Browse files
Refactor terms-test.js by commenting out unused makeTaxonomy function to improve code clarity.
1 parent d1c2c3f commit 6f4045a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/sanity-check/api/terms-test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,9 @@ function makeTerms (taxonomyUid, termUid = null) {
227227
return client.stack({ api_key: process.env.API_KEY }).taxonomy(taxonomyUid).terms(termUid)
228228
}
229229

230-
function makeTaxonomy () {
231-
return client.stack({ api_key: process.env.API_KEY }).taxonomy()
232-
}
230+
// function makeTaxonomy () {
231+
// return client.stack({ api_key: process.env.API_KEY }).taxonomy()
232+
// }
233233

234234
describe('Terms Query Parameters Sanity Tests', () => {
235235
beforeEach(async () => {

0 commit comments

Comments
 (0)