Socket
Socket
Sign inDemoInstall

@feathersjs/adapter-tests

Package Overview
Dependencies
0
Maintainers
4
Versions
94
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 4.0.0-pre.0

29

CHANGELOG.md

@@ -6,2 +6,31 @@ # Change Log

# [4.0.0-pre.0](https://github.com/feathersjs/feathers/compare/v3.2.0-pre.1...v4.0.0-pre.0) (2019-04-21)
### Bug Fixes
* Add test to make sure different id in adapter query works ([#1165](https://github.com/feathersjs/feathers/issues/1165)) ([0ba4580](https://github.com/feathersjs/feathers/commit/0ba4580))
* Update adapter tests to not rely on error instance ([#1202](https://github.com/feathersjs/feathers/issues/1202)) ([6885e0e](https://github.com/feathersjs/feathers/commit/6885e0e))
* Update all dependencies to latest ([#1206](https://github.com/feathersjs/feathers/issues/1206)) ([e51e0f6](https://github.com/feathersjs/feathers/commit/e51e0f6))
### chore
* **package:** Move adapter tests into their own module ([#1164](https://github.com/feathersjs/feathers/issues/1164)) ([dcc1e6b](https://github.com/feathersjs/feathers/commit/dcc1e6b))
### Features
* Add TypeScript definitions ([#1275](https://github.com/feathersjs/feathers/issues/1275)) ([9dd6713](https://github.com/feathersjs/feathers/commit/9dd6713))
* Authentication v3 core server implementation ([#1205](https://github.com/feathersjs/feathers/issues/1205)) ([1bd7591](https://github.com/feathersjs/feathers/commit/1bd7591))
### BREAKING CHANGES
* **package:** Removes adapter tests from @feathersjs/adapter-commons
## [1.0.1](https://github.com/feathersjs/feathers/compare/@feathersjs/adapter-tests@1.0.0...@feathersjs/adapter-tests@1.0.1) (2019-01-10)

@@ -8,0 +37,0 @@

1

lib/index.js

@@ -0,1 +1,2 @@

/* tslint:disable:no-console */
const basicTests = require('./basic');

@@ -2,0 +3,0 @@ const methodTests = require('./methods');

27

lib/methods.js

@@ -5,3 +5,4 @@ const assert = require('assert');

describe(' Methods', () => {
let doug, service;
let doug;
let service;

@@ -52,3 +53,3 @@ beforeEach(async () => {

} catch (error) {
assert.ok(error instanceof errors.NotFound,
assert.strictEqual(error.name, 'NotFound',
'Got a NotFound Feathers error'

@@ -64,3 +65,3 @@ );

} catch (error) {
assert.ok(error instanceof errors.NotFound,
assert.strictEqual(error.name, 'NotFound',
'Error is a NotFound Feathers error'

@@ -83,3 +84,3 @@ );

} catch (error) {
assert.ok(error instanceof errors.NotFound,
assert.strictEqual(error.name, 'NotFound',
'Got a NotFound Feathers error'

@@ -125,3 +126,3 @@ );

} catch (error) {
assert.ok(error instanceof errors.NotFound,
assert.strictEqual(error.name, 'NotFound',
'Got a NotFound Feathers error'

@@ -175,3 +176,3 @@ );

} catch (error) {
assert.ok(error instanceof errors.NotFound,
assert.strictEqual(error.name, 'NotFound',
'Got a NotFound Feathers error'

@@ -226,3 +227,3 @@ );

} catch (error) {
assert.ok(error instanceof errors.NotFound,
assert.strictEqual(error.name, 'NotFound',
'Got a NotFound Feathers error'

@@ -238,3 +239,5 @@ );

} catch (error) {
assert.ok(error instanceof errors.NotFound, 'Error is a NotFound Feathers error');
assert.strictEqual(error.name, 'NotFound',
'Error is a NotFound Feathers error'
);
}

@@ -258,3 +261,3 @@ });

} catch (error) {
assert.ok(error instanceof errors.NotFound,
assert.strictEqual(error.name, 'NotFound',
'Got a NotFound Feathers error'

@@ -305,3 +308,3 @@ );

} catch (error) {
assert.ok(error instanceof errors.NotFound,
assert.strictEqual(error.name, 'NotFound',
'Got a NotFound Feathers error'

@@ -383,3 +386,3 @@ );

} catch (error) {
assert.ok(error instanceof errors.NotFound,
assert.strictEqual(error.name, 'NotFound',
'Error is a NotFound Feathers error'

@@ -404,3 +407,3 @@ );

} catch (error) {
assert.ok(error instanceof errors.NotFound,
assert.strictEqual(error.name, 'NotFound',
'Got a NotFound Feathers error'

@@ -407,0 +410,0 @@ );

@@ -5,3 +5,6 @@ const assert = require('assert');

describe('Query Syntax', () => {
let bob, alice, doug, service;
let bob;
let alice;
let doug;
let service;

@@ -8,0 +11,0 @@ beforeEach(async () => {

{
"name": "@feathersjs/adapter-tests",
"version": "1.0.1",
"version": "4.0.0-pre.0",
"description": "Feathers shared database adapter test suite",

@@ -37,8 +37,8 @@ "homepage": "https://feathersjs.com",

"devDependencies": {
"@feathersjs/errors": "^3.3.6",
"@feathersjs/feathers": "^3.3.1",
"feathers-memory": "^3.0.1",
"mocha": "^5.2.0"
"@feathersjs/errors": "^4.0.0-pre.0",
"@feathersjs/feathers": "^4.0.0-pre.0",
"feathers-memory": "^3.0.2",
"mocha": "^6.0.2"
},
"gitHead": "dea0a32cca9dbeab90bd9cf0d2e975cec02c25d2"
"gitHead": "f415041c465858436a475302aabc7b8cc75adfef"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc