Skip to content

Commit

Permalink
refactor(architecture): rename file
Browse files Browse the repository at this point in the history
  • Loading branch information
nikkeyl committed Mar 18, 2024
1 parent 07f0395 commit 619f529
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 28 deletions.
54 changes: 27 additions & 27 deletions specs/index.spec-d.ts
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
import { expect } from 'chai';
import { describe, it } from 'mocha';
// import { expect } from 'chai';
// import { describe, it } from 'mocha';

import type { SemanticReleaseConfig } from '../src/types/index.d.ts';
// import type { SemanticReleaseConfig } from '../src/types/index.d.ts';

import { defineConfig } from '../src/index.ts';
// import { defineConfig } from '../src/index.ts';

describe('define', () => {
it('define empty config', () => {
// expectTypeOf(defineConfig({})).toEqualTypeOf<SemanticReleaseConfig>();
});
// describe('define', () => {
// it('define empty config', () => {
// expectTypeOf(defineConfig({})).toEqualTypeOf<SemanticReleaseConfig>();
// });

it('define ESLint config', () => {
// expectTypeOf(
// defineConfig({
// env: {},
// extends: [],
// rules: {},
// })
// ).toEqualTypeOf<SemanticReleaseConfig>();
});
// it('define ESLint config', () => {
// expectTypeOf(
// defineConfig({
// env: {},
// extends: [],
// rules: {},
// })
// ).toEqualTypeOf<SemanticReleaseConfig>();
// });

it('define an item of flat ESLint config', () => {
// expectTypeOf(
// defineFlatConfig({
// ignores: [],
// plugins: {},
// rules: {},
// })
// ).toEqualTypeOf<FlatSemanticReleaseConfig>();
});
});
// it('define an item of flat ESLint config', () => {
// expectTypeOf(
// defineFlatConfig({
// ignores: [],
// plugins: {},
// rules: {},
// })
// ).toEqualTypeOf<FlatSemanticReleaseConfig>();
// });
// });
File renamed without changes.
2 changes: 1 addition & 1 deletion src/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { BranchesOptions } from './options/branches.d.ts';
import type { BranchesOptions } from './branches';

/**
* Semantic Release Configuration.
Expand Down

0 comments on commit 619f529

Please sign in to comment.