Skip to content

Commit

Permalink
refactor: use explicit mocha imports
Browse files Browse the repository at this point in the history
* refactor: use explicit mocha imports

* fix license headers
  • Loading branch information
JustinBeckwith authored and bcoe committed Dec 30, 2019
1 parent 3a07c12 commit e9fdf55
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/google-cloud-oslogin/samples/quickstart.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2017, Google LLC All rights reserved.
// Copyright 2017 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion packages/google-cloud-oslogin/samples/test/sample.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019, Google LLC All rights reserved.
// Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -15,6 +15,7 @@
'use strict';

const {assert} = require('chai');
const {describe, it} = require('mocha');
const {execSync} = require('child_process');

const exec = cmd => execSync(cmd, {encoding: 'utf8'});
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-oslogin/src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2017, Google LLC All rights reserved.
// Copyright 2017 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 0 additions & 2 deletions packages/google-cloud-oslogin/system-test/.eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
---
env:
mocha: true
rules:
no-console: off
3 changes: 0 additions & 3 deletions packages/google-cloud-oslogin/test/.eslintrc.yml

This file was deleted.

1 change: 1 addition & 0 deletions packages/google-cloud-oslogin/test/gapic-v1beta.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
'use strict';

const assert = require('assert');
const {describe, it} = require('mocha');

const osLoginModule = require('../src');

Expand Down

0 comments on commit e9fdf55

Please sign in to comment.