File tree Expand file tree Collapse file tree 4 files changed +1
-571
lines changed
Expand file tree Collapse file tree 4 files changed +1
-571
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1212// See the License for the specific language governing permissions and
1313// limitations under the License.
1414
15- var filesToDelete = [ ] ;
15+ let filesToDelete = [ ] ;
1616function deleteFileOnCleanup ( fileId ) {
1717 filesToDelete . push ( fileId ) ;
1818}
@@ -26,13 +26,6 @@ function tearDown() {
2626 }
2727}
2828
29- function cleanup ( ) {
30- return this . driveService . then ( ( drive ) => {
31- const deleteFile = Promise . denodeify ( drive . files . delete ) . bind ( drive . files ) ;
32- return this . filesToDelete . map ( ( id ) => deleteFile ( { fileId : id } ) ) ;
33- } ) ;
34- } ;
35-
3629function createTestSpreadsheet ( callback ) {
3730 gapi . client . sheets . spreadsheets . create ( {
3831 properties : {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments