[ci] format

This commit is contained in:
FredKSchott 2023-09-20 16:52:04 +00:00 committed by astrobot-houston
parent ed54d46449
commit b4034aabea

View file

@ -5,7 +5,6 @@ import * as events from '../dist/events/index.js';
describe('Events', () => {
describe('eventCliSession()', () => {
it('string literal "build.format" is included', () => {
const config = {
srcDir: 1,
@ -22,7 +21,6 @@ describe('Events', () => {
expect(payload.config.build.format).to.equal('file');
});
it('string literal "markdown.syntaxHighlight" is included', () => {
const config = {
markdown: {
@ -91,7 +89,7 @@ describe('Events', () => {
it('only adapter name is included', () => {
const config = {
adapter: {name: 'ADAPTER_NAME'},
adapter: { name: 'ADAPTER_NAME' },
};
const [{ payload }] = events.eventCliSession({ cliCommand: 'dev' }, config);
expect(payload.config.adapter).to.equal('ADAPTER_NAME');