Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
sofisl committed Jul 22, 2024
1 parent 48041b6 commit 5f17671
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test/test.download.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ describe(__filename, () => {
scopes.forEach(s => s.done());
});

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

0 comments on commit 5f17671

Please sign in to comment.