0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00

[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('Events', () => {
describe('eventCliSession()', () => { describe('eventCliSession()', () => {
it('string literal "build.format" is included', () => { it('string literal "build.format" is included', () => {
const config = { const config = {
srcDir: 1, srcDir: 1,
@ -22,7 +21,6 @@ describe('Events', () => {
expect(payload.config.build.format).to.equal('file'); expect(payload.config.build.format).to.equal('file');
}); });
it('string literal "markdown.syntaxHighlight" is included', () => { it('string literal "markdown.syntaxHighlight" is included', () => {
const config = { const config = {
markdown: { markdown: {
@ -91,7 +89,7 @@ describe('Events', () => {
it('only adapter name is included', () => { it('only adapter name is included', () => {
const config = { const config = {
adapter: {name: 'ADAPTER_NAME'}, adapter: { name: 'ADAPTER_NAME' },
}; };
const [{ payload }] = events.eventCliSession({ cliCommand: 'dev' }, config); const [{ payload }] = events.eventCliSession({ cliCommand: 'dev' }, config);
expect(payload.config.adapter).to.equal('ADAPTER_NAME'); expect(payload.config.adapter).to.equal('ADAPTER_NAME');