Files
FrenoCorp/node_modules/github-from-package/test/url.js
Michael Freno 7c684a42cc FRE-600: Fix code review blockers
- Consolidated duplicate UndoManagers to single instance
- Fixed connection promise to only resolve on 'connected' status
- Fixed WebSocketProvider import (WebsocketProvider)
- Added proper doc.destroy() cleanup
- Renamed isPresenceInitialized property to avoid conflict

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-25 00:08:01 -04:00

20 lines
611 B
JavaScript

var test = require('tape');
var github = require('../');
var packages = {
a : require('./a.json'),
b : require('./b.json'),
c : require('./c.json'),
d : require('./d.json'),
e : require('./e.json')
};
test(function (t) {
t.plan(5);
var url = 'https://github.com/substack/beep-boop';
t.equal(url, github(packages.a), 'a.json comparison');
t.equal(url, github(packages.b), 'b.json comparison');
t.equal(url, github(packages.c), 'c.json comparison');
t.equal(url, github(packages.d), 'd.json comparison');
t.equal(url, github(packages.e), 'e.json comparison');
});