irrasoft-node-codegen
Advanced tools
Comparing version 0.0.102 to 0.0.103
@@ -149,5 +149,2 @@ #!/usr/bin/env node | ||
}) | ||
mkdir(`${root}/src/api/${option.apiVersion}/services`, function(){ | ||
copy_template('service.js', `${root}/src/api/${option.apiVersion}/services/${option.name}.js`, option) | ||
}) | ||
}) | ||
@@ -154,0 +151,0 @@ copy_template('integration.test.js', `${root}/test/integration/${option.name}.test.js`, option) |
{ | ||
"name": "irrasoft-node-codegen", | ||
"version": "0.0.102", | ||
"version": "0.0.103", | ||
"bin": { | ||
@@ -5,0 +5,0 @@ "codegen": "./bin/cli.js" |
@@ -108,6 +108,6 @@ process.env.NODE_ENV = 'test'; | ||
chai.request(server) | ||
.put(`${BASE_URL}`) | ||
.put(`${BASE_URL}/4632dec9-13cb-4464-bce9-66f62db4ad8e`) | ||
.set('Authorization', 'Bearer ' + token) | ||
.set('content-type', 'application/json') | ||
.send({ id: '4632dec9-13cb-4464-bce9-66f62db4ad8e', name: 'test_name', code: 'my'}) | ||
.send({ name: 'test_name', code: 'my'}) | ||
.end((err, res) => { | ||
@@ -124,6 +124,6 @@ should.not.exist(err); | ||
chai.request(server) | ||
.put(`${BASE_URL}`) | ||
.put(`${BASE_URL}/-1`) | ||
.set('Authorization', 'Bearer ' + token) | ||
.set('content-type', 'application/json') | ||
.send({ id: '12345678',name: 'test_name', code: 'my'}) | ||
.send({ name: 'test_name', code: 'my'}) | ||
.end((err, res) => { | ||
@@ -130,0 +130,0 @@ should.not.exist(err); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15252
385