Skip to content

Fix routing paths on Windows #3138

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

steven-supersolid
Copy link
Contributor

Ensures batch routing paths use posix separator / on Windows
Updated test:win and coverage:win to work again although mongodb-runner is not working on Windows

@@ -70,9 +70,9 @@
"lint": "eslint ./",
"build": "babel src/ -d lib/",
"test": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=3.2.6} MONGODB_STORAGE_ENGINE=mmapv1 NODE_ENV=test TESTING=1 $COVERAGE_OPTION jasmine",
"test:win": "npm run pretest && cross-env NODE_ENV=test TESTING=1 node ./node_modules/jasmine/bin/jasmine.js && npm run posttest",
"test:win": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=3.2.6} MONGODB_STORAGE_ENGINE=mmapv1 NODE_ENV=test TESTING=1 jasmine",
Copy link
Contributor

Choose a reason for hiding this comment

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

Seems that's the same as the test command now.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is a small difference in that test includes $COVERAGE_OPTION but this won't work on Windows

@flovilmart flovilmart merged commit fbb2b08 into parse-community:master Nov 29, 2016
rsouzas pushed a commit to back4app/parse-server that referenced this pull request Dec 3, 2016
Jcarlosjunior pushed a commit to back4app/parse-server that referenced this pull request Dec 13, 2016
@steven-supersolid steven-supersolid deleted the steven.windows.path.fix branch June 23, 2017 15:24
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