bit
bit copied to clipboard
enable skipped tests for windows
There are many tests currently disabled for windows:
- [ ] all tests against the local registry (verdaccio) (see SKIP_REGISTRY_TESTS: true env variable on windows_e2e config for circle)
- [ ] all tests against bit.dev servers (see SKIP_BIT_DEV_TESTS: true env variable on windows_e2e config for circle
- [ ] all tests with the following structure:
if (IS_WINDOWS || process.env.APPVEYOR === 'True') {
// @ts-ignore
this.skip;
}
The registry tests are disabled mainly because the npm add user command to authenticate against the local server is interactive so we used expect which is a Linux tool to enter the credentials. This might be replaced by npm-cli-login.