Skip to content

Commit bd0a371

Browse files
committed
style: url fixes
1 parent a850f77 commit bd0a371

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

test/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ describe('Google Chrome Accessibility Developer Tools runner', function main() {
2828
root: path.join(__dirname, 'fixtures', 'website'),
2929
});
3030
server.listen(port);
31-
url = `http://${host}:${port}`;
31+
url = `http://${host}:${port}/`;
3232
done();
3333
});
3434
});
@@ -42,7 +42,7 @@ describe('Google Chrome Accessibility Developer Tools runner', function main() {
4242
crawler.addRunner('a11y-dev-tools', new A11yDeveloperToolsRunner());
4343

4444
const results = {};
45-
results[`${url}/`] = {
45+
results[url] = {
4646
runners: {
4747
'a11y-dev-tools': {
4848
result: require(path.join(__dirname, 'fixtures/results/index.json')),
@@ -53,7 +53,7 @@ describe('Google Chrome Accessibility Developer Tools runner', function main() {
5353
});
5454

5555
it('should work on a website with require', () => {
56-
const amdUrl = `${url}/amd.html`;
56+
const amdUrl = `${url}amd.html`;
5757
const crawler = new CrawlKit(amdUrl);
5858
crawler.addRunner('a11y-dev-tools', new A11yDeveloperToolsRunner());
5959

0 commit comments

Comments
 (0)