Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
FredKSchott authored and astrobot-houston committed Sep 20, 2023
1 parent ed54d46 commit b4034aa
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/astro/test/events.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -22,7 +21,6 @@ describe('Events', () => {
expect(payload.config.build.format).to.equal('file');
});


it('string literal "markdown.syntaxHighlight" is included', () => {
const config = {
markdown: {
Expand Down Expand Up @@ -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');
Expand Down

0 comments on commit b4034aa

Please sign in to comment.