Skip to content

Conversation

Onatolich
Copy link
Contributor

No description provided.

@Onatolich Onatolich requested a review from nanovazquez July 31, 2020 22:06
import { ExosScripts } from './common/types';

export default function exosScripts(scriptName: string, args: string[]): void {
export default function exosScripts(scriptName: string): void {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you removing the args?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because currently there is 2 process spawns. It should be improved but in different PR. Now I'm doing this minimum to make it possible for tests to work without prebuild.

Copy link
Collaborator

@interactivellama interactivellama Aug 10, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Usually babel, transpile, etc. is handled by Jest setup. However once we have functional unit tests, we probably will want to build for that script such as npm run test:functional or npm run test:browser.

Would a npm run test:unit without a build step be a good option?

@Onatolich Onatolich requested a review from nanovazquez July 31, 2020 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants