Skip to content

Commit

Permalink
uncommented code
Browse files Browse the repository at this point in the history
  • Loading branch information
sunil-lakshman committed Sep 6, 2024
1 parent bb231ad commit 1c736c2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/entry/find.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ test('Initalise the Contentstack Stack Instance', function(TC) {
}, 1000);
});

// test('early_access in stack initialization', function (t) {
// const stack = Contentstack.Stack({ ...init.stack, early_access: ['newCDA', 'taxonomy'] });
// t.equal(stack.headers['x-header-ea'], 'newCDA,taxonomy', 'Early access headers should be added');
// t.end();
// });
test('early_access in stack initialization', function (t) {
const stack = Contentstack.Stack({ ...init.stack, early_access: ['newCDA', 'taxonomy'] });
t.equal(stack.headers['x-header-ea'], 'newCDA,taxonomy', 'Early access headers should be added');
t.end();
});

test('default .find()', function(assert) {
var Query = Stack.ContentType(contentTypes.source).Query(),
Expand Down

0 comments on commit 1c736c2

Please sign in to comment.