Skip to content

Commit

Permalink
test: turn on some test, turn off others (#426)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe authored Nov 13, 2020
1 parent 905d806 commit 19f7b5d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/google-cloud-asset/samples/test/sample.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,19 +70,19 @@ describe('quickstart sample tests', () => {

// The assets returned within 'readTimeWindow' frequently do not include
// the newly created bucket:
it.skip('should get assets history successfully', async () => {
it('should get assets history successfully', async () => {
const assetName = `//storage.googleapis.com/${bucketName}`;
const stdout = execSync(`node getBatchAssetHistory ${assetName}`);
assert.include(stdout, assetName);
});

it.skip('should run the quickstart', async () => {
it('should run the quickstart', async () => {
const assetName = `//storage.googleapis.com/${bucketName}`;
const stdout = execSync(`node quickstart ${assetName}`);
assert.include(stdout, assetName);
});

it('should search all resources successfully', async () => {
it.skip('should search all resources successfully', async () => {
const query = `name:${vmName}`;
const stdout = execSync(`node searchAllResources '' ${query}`);
assert.include(stdout, vmName);
Expand Down

0 comments on commit 19f7b5d

Please sign in to comment.