There was an error while loading. Please reload this page.
1 parent 41e5b8a commit 9b77de7Copy full SHA for 9b77de7
1 file changed
test/entry/find.js
@@ -20,8 +20,8 @@ test('Initalise the Contentstack Stack Instance', function(TC) {
20
}, 1000);
21
});
22
23
-test.only('early_access_headers in stack initialization', function (t) {
24
- const stack = Contentstack.Stack({ ...init.stack, early_access_headers: ['newCDA', 'taxonomy'] });
+test.only('early_access in stack initialization', function (t) {
+ const stack = Contentstack.Stack({ ...init.stack, early_access: ['newCDA', 'taxonomy'] });
25
t.equal(stack.headers['x-header-ea'], 'newCDA,taxonomy', 'Early access headers should be added');
26
t.end();
27
0 commit comments