-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix failing service tests for [bintray npmlicense github crates] (#2401)
- Loading branch information
1 parent
77ff199
commit 43d99f9
Showing
5 changed files
with
26 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
'use strict' | ||
|
||
const ServiceTester = require('../service-tester') | ||
|
||
const t = new ServiceTester({ | ||
id: 'crates', | ||
title: 'crates.io', | ||
pathPrefix: '/crates/l', | ||
}) | ||
module.exports = t | ||
|
||
t.create('license') | ||
.get('/libc.json') | ||
.expectJSON({ name: 'license', value: 'MIT OR Apache-2.0' }) | ||
|
||
t.create('license (with version)') | ||
.get('/libc/0.2.31.json') | ||
.expectJSON({ name: 'license', value: 'MIT OR Apache-2.0' }) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters