diff --git a/index.js b/index.js index 26cee96..00d3de9 100644 --- a/index.js +++ b/index.js @@ -267,7 +267,7 @@ function isValidPatterns(patterns) { } module.exports = ({negotiateProtocol}) => { - const protocol = negotiateProtocol(['ava-3'], {version: pkg.version}); + const protocol = negotiateProtocol(['ava-3.2'], {version: pkg.version}); if (protocol === null) { return; } @@ -345,6 +345,18 @@ module.exports = ({negotiateProtocol}) => { get extensions() { return [...extensions]; + }, + + ignoreChange() { + return false; + }, + + resolveTestFile(testFile) { + return testFile; + }, + + updateGlobs(globs) { + return globs; } }; }, diff --git a/test/protocol-ava-3.js b/test/protocol-ava-3.2.js similarity index 99% rename from test/protocol-ava-3.js rename to test/protocol-ava-3.2.js index 5d58161..912a3bf 100644 --- a/test/protocol-ava-3.js +++ b/test/protocol-ava-3.2.js @@ -7,7 +7,7 @@ const makeProvider = require('..'); const withProvider = (t, run) => run(t, makeProvider({ negotiateProtocol(identifiers, {version}) { - t.true(identifiers.includes('ava-3')); + t.true(identifiers.includes('ava-3.2')); t.is(version, pkg.version); return { ava: {version: '3.0.0'}, diff --git a/test/snapshots/protocol-ava-3.js.md b/test/snapshots/protocol-ava-3.2.js.md similarity index 96% rename from test/snapshots/protocol-ava-3.js.md rename to test/snapshots/protocol-ava-3.2.js.md index f6db398..9fa237e 100644 --- a/test/snapshots/protocol-ava-3.js.md +++ b/test/snapshots/protocol-ava-3.2.js.md @@ -1,6 +1,6 @@ -# Snapshot report for `test/protocol-ava-3.js` +# Snapshot report for `test/protocol-ava-3.2.js` -The actual snapshot is saved in `protocol-ava-3.js.snap`. +The actual snapshot is saved in `protocol-ava-3.2.js.snap`. Generated by [AVA](https://avajs.dev). diff --git a/test/snapshots/protocol-ava-3.js.snap b/test/snapshots/protocol-ava-3.2.js.snap similarity index 100% rename from test/snapshots/protocol-ava-3.js.snap rename to test/snapshots/protocol-ava-3.2.js.snap