Skip to content

Commit

Permalink
remove test
Browse files Browse the repository at this point in the history
  • Loading branch information
fwuensche committed Dec 7, 2024
1 parent c83fd0d commit 3dd2597
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 55 deletions.
16 changes: 16 additions & 0 deletions .cherry.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
module.exports = {
project_name: 'cherrypush/cherry-cli',
plugins: {
// npmOutdated: {}, // TODO: this requires an active internet connection thus should not be used in tests
loc: {},
eslint: {},
jsCircularDependencies: { include: 'src/**' },
// jsUnimported: {}, // TODO: investigate why this takes so long with a slow internet connection
},
metrics: [
{
name: 'TODO',
pattern: /TODO/,
},
],
}
21 changes: 0 additions & 21 deletions .cherry.js

This file was deleted.

4 changes: 0 additions & 4 deletions bin/commands/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import { createConfigurationFile, createWorkflowFile, getConfigFile, workflowExists } from '../../src/configuration.js'

import { Command } from 'commander'
import prompt from 'prompt'
import { gitProjectRoot, gitRemoteUrl } from '../../src/git.js'
import { guessRepositoryInfo } from '../../src/repository.js'

Expand All @@ -16,9 +15,6 @@ export default function (program: Command) {
process.exit(1)
}

prompt.message = ''
prompt.start()

const remoteUrl = await gitRemoteUrl()
const projectRoot = await gitProjectRoot()
const repositoryInfo = await guessRepositoryInfo({ remoteUrl, configFile: null, projectRoot })
Expand Down
30 changes: 0 additions & 30 deletions test/cherry_init.test.js

This file was deleted.

0 comments on commit 3dd2597

Please sign in to comment.