Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pa11y-ci

Package Overview
Dependencies
Maintainers
6
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pa11y-ci - npm Package Compare versions

Comparing version 2.1.1 to 2.2.0

test/integration/mock/config/extension-js-promise.js

6

bin/pa11y-ci.js

@@ -132,3 +132,7 @@ #!/usr/bin/env node

}
resolve(defaultConfig(config || {}));
// Allow loaded configs to return a promise
Promise.resolve(config).then(config => {
resolve(defaultConfig(config || {}));
});
});

@@ -135,0 +139,0 @@ }

# Changelog
## 2.2.0 (2019-04-16)
* Allow loaded config to return promises
## 2.1.1 (2018-04-24)

@@ -5,0 +9,0 @@

2

package.json
{
"name": "pa11y-ci",
"version": "2.1.1",
"version": "2.2.0",
"description": "Pa11y CI is a CI-centric accessibility test runner, built using Pa11y",

@@ -5,0 +5,0 @@ "keywords": [],

@@ -63,2 +63,17 @@ /* eslint max-len: 'off' */

describe('pa11y-ci (with a config file that has a "js" extension that returns a promise)', () => {
before(() => {
return global.cliCall([
'--config',
'extension-js-promise'
]);
});
it('loads the expected config', () => {
assert.include(global.lastResult.output, 'http://localhost:8090/config-extension-js-promise');
});
});
describe('pa11y-ci (with a config file that has a specified JSON extension)', () => {

@@ -65,0 +80,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc