Skip to content

Commit

Permalink
Refactor test configuration for explore-config package
Browse files Browse the repository at this point in the history
  • Loading branch information
1aron committed May 2, 2024
1 parent 85a1ca8 commit aeeb097
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/semantic-release-config/tests/publish/test.ts
@@ -1,9 +1,7 @@
import configure from '../../src/configure'
import path from 'path';
const __dirname = path.normalize(path.dirname(new URL(import.meta.url).pathname));

it('only publishs the public packages', () => {
process.chdir(__dirname)
process.chdir('./tests/publish')
const config: any = configure()
expect(config.plugins.filter((eachPlugin) => eachPlugin[0] === '@semantic-release/npm'))
.toEqual([
Expand Down

0 comments on commit aeeb097

Please sign in to comment.