Skip to content

Commit 5f17671

Browse files
committed
fix test
1 parent 48041b6 commit 5f17671

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

test/test.download.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ describe(__filename, () => {
107107
scopes.forEach(s => s.done());
108108
});
109109

110-
it('should ignore changes to schemas that only have revision changes', async () => {
110+
it.only('should ignore changes to schemas that only have revision changes', async () => {
111111
const scopes = [
112112
nock(
113113
'https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries'
@@ -120,10 +120,7 @@ describe(__filename, () => {
120120
'https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries'
121121
)
122122
.get('/fake.v1.json')
123-
.reply(
124-
200,
125-
'{"id": "fake:v1","discoveryRestUrl": "http://localhost:3030/path","name": "fake","version": "v1", "revision": "1234"}'
126-
),
123+
.reply(200, '{"revision": "1234"}'),
127124
];
128125
const writeFileStub = sandbox.stub(dn.gfs, 'writeFile');
129126
const readFileStub = sandbox.stub(dn.gfs, 'readFile').callsFake(() => {

0 commit comments

Comments
 (0)