Skip to content

Commit

Permalink
Vision snippets. (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdobry authored and Ace Nassri committed Jan 11, 2017
1 parent 4d34dfa commit 22b49f3
Show file tree
Hide file tree
Showing 78 changed files with 1,440 additions and 325 deletions.
2 changes: 1 addition & 1 deletion appengine/analytics/test/app.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function getSample () {
}

test.beforeEach(stubConsole);
test.afterEach(restoreConsole);
test.afterEach.always(restoreConsole);

test.cb(`should record a visit`, (t) => {
const sample = getSample();
Expand Down
2 changes: 1 addition & 1 deletion appengine/bower/test/server.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function getSample () {
}

test.beforeEach(stubConsole);
test.afterEach(restoreConsole);
test.afterEach.always(restoreConsole);

test.cb(`should render a page`, (t) => {
const sample = getSample();
Expand Down
2 changes: 1 addition & 1 deletion appengine/cloudsql/test/createTables.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function getSample () {
}

test.beforeEach(stubConsole);
test.afterEach(restoreConsole);
test.afterEach.always(restoreConsole);

test.cb.serial(`should record a visit`, (t) => {
const sample = getSample();
Expand Down
2 changes: 1 addition & 1 deletion appengine/cloudsql/test/server.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function getSample () {
}

test.beforeEach(stubConsole);
test.afterEach(restoreConsole);
test.afterEach.always(restoreConsole);

test(`sets up sample`, (t) => {
const sample = getSample();
Expand Down
2 changes: 1 addition & 1 deletion appengine/datastore/test/app.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function getSample () {
}

test.beforeEach(stubConsole);
test.afterEach(restoreConsole);
test.afterEach.always(restoreConsole);

test(`sets up sample`, (t) => {
const sample = getSample();
Expand Down
2 changes: 1 addition & 1 deletion appengine/disk/test/app.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function getSample () {
}

test.beforeEach(stubConsole);
test.afterEach(restoreConsole);
test.afterEach.always(restoreConsole);

test(`sets up the sample`, (t) => {
const sample = getSample();
Expand Down
2 changes: 1 addition & 1 deletion appengine/endpoints/test/app.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function getSample () {
}

test.beforeEach(stubConsole);
test.afterEach(restoreConsole);
test.afterEach.always(restoreConsole);

test(`sets up the sample`, (t) => {
const sample = getSample();
Expand Down
2 changes: 1 addition & 1 deletion appengine/errorreporting/test/app.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function getSample () {
}

test.beforeEach(stubConsole);
test.afterEach(restoreConsole);
test.afterEach.always(restoreConsole);

test(`sets up the sample`, (t) => {
const sample = getSample();
Expand Down
2 changes: 1 addition & 1 deletion appengine/express-memcached-session/test/server.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function getSample () {
}

test.beforeEach(stubConsole);
test.afterEach(restoreConsole);
test.afterEach.always(restoreConsole);

test(`sets up the sample`, (t) => {
const sample = getSample();
Expand Down
2 changes: 1 addition & 1 deletion appengine/express/test/app.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function getSample () {
}

test.beforeEach(stubConsole);
test.afterEach(restoreConsole);
test.afterEach.always(restoreConsole);

test.cb(`should render index page`, (t) => {
const sample = getSample();
Expand Down
24 changes: 12 additions & 12 deletions appengine/loopback/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@
"posttest": "npm run lint && nsp check"
},
"dependencies": {
"compression": "^1.0.3",
"cors": "^2.5.2",
"helmet": "^1.3.0",
"loopback-boot": "^2.6.5",
"loopback-component-explorer": "^2.4.0",
"serve-favicon": "^2.0.1",
"strong-error-handler": "^1.0.1",
"loopback-datasource-juggler": "^2.39.0",
"loopback": "^2.22.0"
"compression": "1.0.3",
"cors": "2.5.2",
"helmet": "1.3.0",
"loopback-boot": "2.6.5",
"loopback-component-explorer": "2.4.0",
"serve-favicon": "2.0.1",
"strong-error-handler": "1.0.1",
"loopback-datasource-juggler": "2.39.0",
"loopback": "2.22.0"
},
"devDependencies": {
"eslint": "^2.13.1",
"eslint-config-loopback": "^4.0.0",
"nsp": "^2.1.0"
"eslint": "2.13.1",
"eslint-config-loopback": "4.0.0",
"nsp": "2.1.0"
}
}
Loading

0 comments on commit 22b49f3

Please sign in to comment.