Commit 31a9877f authored by Mehmet Kozan's avatar Mehmet Kozan

ci test 03.

parent f7940e3b
Pipeline #14752469 failed with stages
in 1 minute and 37 seconds
image: node:8.9.1
#before_script:
# - npm install --save --save-dev --save-exact
#stages: build, test, and deploy.
stages:
- build
- test
package_install:
git_package_install:
stage: build
script:
- pwd
- npm install --save --save-dev --save-exact
mocha_test:
git_mocha_test:
stage: test
script:
- pwd
- npm install --save --save-dev --save-exact
- npm run test
npm_package_install:
stage: build
script:
- pwd
- rm -rf npm_package_install
- mkdir npm_package_install
- cd npm_package_install
- npm install crawler-url-parser --save --save-dev --save-exact
npm_mocha_test:
stage: test
script:
- npm run test
- pwd
- rm -rf npm_package_install
- mkdir npm_package_install
- cd npm_package_install
- npm install crawler-url-parser --save --save-dev --save-exact
- npm test
......@@ -24,6 +24,6 @@ describe('querycount url', function() {
it('should calculate urls query-4', function() {
let res = cup.querycount("sub.domain.com/aaa/bbb?q1=data1&q2=data2&q3=data3&q4=data4");
assert.equal(res,5);
assert.equal(res,4);
});
});
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment