apostrophe
Version:
The Apostrophe Content Management System.
33 lines (29 loc) • 572 B
JavaScript
const t = require('../../test-lib/test.js');
const apiKey = 'this is a test api key';
(async function () {
await t.create({
root: module,
modules: {
'@apostrophecms/express': {
options: {
apiKeys: {
[apiKey]: {
role: 'admin'
}
}
}
},
malformed: {
extend: '@apostrophecms/widget-type',
fields: {
add: {
type: {
label: 'Foo',
type: 'string'
}
}
}
}
}
});
})();