finki-main
main
|
Last change
on this file since 81bc7da was 81bc7da, checked in by Klimentina Efremova <klimentina08642@…>, 3 months ago |
|
Initial commit
|
-
Property mode
set to
100644
|
|
File size:
611 bytes
|
| Line | |
|---|
| 1 | var test = require('tape');
|
|---|
| 2 | var github = require('../');
|
|---|
| 3 | var packages = {
|
|---|
| 4 | a : require('./a.json'),
|
|---|
| 5 | b : require('./b.json'),
|
|---|
| 6 | c : require('./c.json'),
|
|---|
| 7 | d : require('./d.json'),
|
|---|
| 8 | e : require('./e.json')
|
|---|
| 9 | };
|
|---|
| 10 |
|
|---|
| 11 | test(function (t) {
|
|---|
| 12 | t.plan(5);
|
|---|
| 13 | var url = 'https://github.com/substack/beep-boop';
|
|---|
| 14 | t.equal(url, github(packages.a), 'a.json comparison');
|
|---|
| 15 | t.equal(url, github(packages.b), 'b.json comparison');
|
|---|
| 16 | t.equal(url, github(packages.c), 'c.json comparison');
|
|---|
| 17 | t.equal(url, github(packages.d), 'd.json comparison');
|
|---|
| 18 | t.equal(url, github(packages.e), 'e.json comparison');
|
|---|
| 19 | });
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.