Skip to content

Commit

Permalink
🚚 chore(env): add vitest to env
Browse files Browse the repository at this point in the history
  • Loading branch information
angelespejo committed Sep 20, 2024
1 parent 74096c5 commit f699b06
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"dev": "node ./src/bin.js",
"build": "pnpm run --sequential \"/^build:.*/\"",
"build:bins": "node ./.dev/build-bin.mjs",
"test": "vitest run",
"test": "vitest run src --passWithNoTests",
"update-version": "changeset && changeset version",
"push-manual": "git add . && git commit -m \"$1\" && git push -f origin main",
"push": "git add . && cz && git push -f origin $@",
Expand Down
10 changes: 5 additions & 5 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,8 @@ class ConversationManager {
name : 'Importing sentiment library',
details : [
'Fetching sentiment modules...',
'Loadinging positive sentiment data...',
'Loadinging negative sentiment data...',
'Loading positive sentiment data...',
'Loading negative sentiment data...',
'Sentiment library imported.',
],
},
Expand All @@ -480,8 +480,8 @@ class ConversationManager {
],
},
{
name : 'Loadinging creativity core',
details : [ 'Booting creativity engine...', 'Creativity core loadinged and running.' ],
name : 'Loading creativity core',
details : [ 'Booting creativity engine...', 'Creativity core loaded and running.' ],
},
]

Expand All @@ -493,7 +493,7 @@ class ConversationManager {
for ( const detail of step.details ) {

console.log( detail )
await new Promise( resolve => setTimeout( resolve, 200 ) ) // Add a short delay for visual effect
await new Promise( resolve => setTimeout( resolve, 150 ) ) // Add a short delay for visual effect

}
console.log( PROMPT_COLOR( `${step.name.replace( /\.\.\.$/, '' )} completed.` ) )
Expand Down
Empty file added src/main.test.js
Empty file.

0 comments on commit f699b06

Please sign in to comment.