-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
2,050 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
**/node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Mocha Tests", | ||
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha", | ||
"args": [ | ||
"-u", | ||
"tdd", | ||
"--timeout", | ||
"999999", | ||
"--colors", | ||
"${workspaceFolder}/test/datatypes.test.js" | ||
], | ||
"env": { | ||
"MYSQL_HOST": "localhost", | ||
"MYSQL_USER": "root", | ||
"MYSQL_PASSWORD": "pass", | ||
"MYSQL_DATABASE": "testdb", | ||
"MYSQL_PORT": 3307 | ||
}, | ||
"internalConsoleOptions": "openOnSessionStart" | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Launch Program", | ||
"program": "${workspaceFolder}/index.js" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"name": "juggler-v3", | ||
"version": "3.0.0", | ||
"dependencies": { | ||
"loopback-datasource-juggler":"3.x", | ||
"should": "^8.4.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// Copyright IBM Corp. 2019. All Rights Reserved. | ||
// Node module: loopback-connector-postgresql | ||
// This file is licensed under the Artistic License 2.0. | ||
// License text available at https://opensource.org/licenses/Artistic-2.0 | ||
|
||
'use strict'; | ||
|
||
const should = require('should'); | ||
const juggler = require('loopback-datasource-juggler'); | ||
const name = require('./package.json').name; | ||
|
||
require('../../test/init'); | ||
|
||
describe.only(name, function() { | ||
before(function() { | ||
return global.resetDataSourceClass(juggler.DataSource); | ||
}); | ||
|
||
after(function() { | ||
return global.resetDataSourceClass(); | ||
}); | ||
|
||
require('loopback-datasource-juggler/test/common.batch.js'); | ||
require('loopback-datasource-juggler/test/include.test.js'); | ||
|
||
// === Operation hooks ==== // | ||
|
||
const suite = require('loopback-datasource-juggler/test/persistence-hooks.suite.js'); | ||
const customConfig = Object.assign({}, global.config); | ||
suite(global.getDataSource(customConfig, juggler.DataSource), should, {replaceOrCreateReportsNewInstance: false}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"name": "juggler-v4", | ||
"version": "4.0.0", | ||
"dependencies": { | ||
"loopback-datasource-juggler":"4.x", | ||
"should": "^13.2.3" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// Copyright IBM Corp. 2019. All Rights Reserved. | ||
// Node module: loopback-connector-postgresql | ||
// This file is licensed under the Artistic License 2.0. | ||
// License text available at https://opensource.org/licenses/Artistic-2.0 | ||
|
||
'use strict'; | ||
|
||
const semver = require('semver'); | ||
const should = require('should'); | ||
const juggler = require('loopback-datasource-juggler'); | ||
const name = require('./package.json').name; | ||
|
||
require('../../test/init'); | ||
|
||
describe(name, function() { | ||
before(function() { | ||
return global.resetDataSourceClass(juggler.DataSource); | ||
}); | ||
|
||
after(function() { | ||
return global.resetDataSourceClass(); | ||
}); | ||
|
||
require('loopback-datasource-juggler/test/common.batch.js'); | ||
require('loopback-datasource-juggler/test/include.test.js'); | ||
|
||
// // === Operation hooks ==== // | ||
|
||
// const suite = require('loopback-datasource-juggler/test/persistence-hooks.suite.js'); | ||
// const customConfig = Object.assign({}, global.config); | ||
// suite(global.getDataSource(customConfig, juggler.DataSource), should, {replaceOrCreateReportsNewInstance: false}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.