Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions packages/@azure/storage/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,11 @@ typings/
.next

# Typescript output
/blob/dist/
/blob/typings/
/blob/browser/
/blob/dist-*/
/blob/temp

/*/dist/
/*/typings/
/*/browser/
/*/dist-*/
/*/temp/
test*.xml

# Visual Studio Code
Expand Down
1 change: 1 addition & 0 deletions packages/@azure/storage/blob/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// https://github.com/karma-runner/karma-chrome-launcher
process.env.CHROME_BIN = require("puppeteer").executablePath();
require("dotenv").config({path:"../.env"});

module.exports = function(config) {
config.set({
Expand Down
15 changes: 15 additions & 0 deletions packages/@azure/storage/blob/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions packages/@azure/storage/blob/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@
"tslib": "^1.9.3"
},
"devDependencies": {
"@types/dotenv": "^6.1.0",
"@types/mocha": "^5.2.5",
"@types/node": "^10.12.3",
"assert": "^1.4.1",
"cross-env": "^5.2.0",
"dotenv": "^7.0.0",
"es6-promise": "^4.2.4",
"gulp": "^4.0.0",
"gulp-zip": "^4.2.0",
Expand Down
2 changes: 2 additions & 0 deletions packages/@azure/storage/blob/tests/aborter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import * as assert from "assert";
import { Aborter } from "../lib/Aborter";
import { ContainerURL } from "../lib/ContainerURL";
import { getBSU, getUniqueName } from "./utils";
import * as dotenv from "dotenv";
dotenv.config({path:"../.env"});

// tslint:disable:no-empty
describe("Aborter", () => {
Expand Down
2 changes: 2 additions & 0 deletions packages/@azure/storage/blob/tests/appendbloburl.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { Aborter } from "../lib/Aborter";
import { AppendBlobURL } from "../lib/AppendBlobURL";
import { ContainerURL } from "../lib/ContainerURL";
import { bodyToString, getBSU, getUniqueName } from "./utils";
import * as dotenv from "dotenv";
dotenv.config({path:"../.env"});

describe("AppendBlobURL", () => {
const serviceURL = getBSU();
Expand Down
2 changes: 2 additions & 0 deletions packages/@azure/storage/blob/tests/bloburl.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import { BlobURL } from "../lib/BlobURL";
import { BlockBlobURL } from "../lib/BlockBlobURL";
import { ContainerURL } from "../lib/ContainerURL";
import { bodyToString, getBSU, getUniqueName, sleep } from "./utils";
import * as dotenv from "dotenv";
dotenv.config({path:"../.env"});

describe("BlobURL", () => {
const serviceURL = getBSU();
Expand Down
2 changes: 2 additions & 0 deletions packages/@azure/storage/blob/tests/blockbloburl.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import { BlobURL } from "../lib/BlobURL";
import { BlockBlobURL } from "../lib/BlockBlobURL";
import { ContainerURL } from "../lib/ContainerURL";
import { base64encode, bodyToString, getBSU, getUniqueName } from "./utils";
import * as dotenv from "dotenv";
dotenv.config({path:"../.env"});

describe("BlockBlobURL", () => {
const serviceURL = getBSU();
Expand Down
2 changes: 2 additions & 0 deletions packages/@azure/storage/blob/tests/containerurl.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import { BlobURL } from "../lib/BlobURL";
import { BlockBlobURL } from "../lib/BlockBlobURL";
import { ContainerURL } from "../lib/ContainerURL";
import { getBSU, getUniqueName, sleep } from "./utils";
import * as dotenv from "dotenv";
dotenv.config({path:"../.env"});

describe("ContainerURL", () => {
const serviceURL = getBSU();
Expand Down
2 changes: 2 additions & 0 deletions packages/@azure/storage/blob/tests/pagebloburl.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import { Aborter } from "../lib/Aborter";
import { BlobURL } from "../lib/BlobURL";
import { ContainerURL } from "../lib/ContainerURL";
import { PageBlobURL } from "../lib/PageBlobURL";
import * as dotenv from "dotenv";
dotenv.config({path:"../.env"});

describe("PageBlobURL", () => {
const serviceURL = getBSU();
Expand Down
2 changes: 2 additions & 0 deletions packages/@azure/storage/blob/tests/retrypolicy.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import { ContainerURL } from "../lib/ContainerURL";
import { Pipeline } from "../lib/Pipeline";
import { getBSU, getUniqueName } from "./utils";
import { InjectorPolicyFactory } from "./utils/InjectorPolicyFactory";
import * as dotenv from "dotenv";
dotenv.config({path:"../.env"});

describe("RetryPolicy", () => {
const serviceURL = getBSU();
Expand Down
2 changes: 2 additions & 0 deletions packages/@azure/storage/blob/tests/serviceurl.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { Aborter } from "../lib/Aborter";
import { ContainerURL } from "../lib/ContainerURL";
import { ServiceURL } from "../lib/ServiceURL";
import { getAlternateBSU, getBSU, getUniqueName, wait } from "./utils";
import * as dotenv from "dotenv";
dotenv.config({path:"../.env"});

describe("ServiceURL", () => {
it("ListContainers with default parameters", async () => {
Expand Down
2 changes: 2 additions & 0 deletions packages/@azure/storage/blob/tests/specialnaming.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { ContainerURL } from "../lib/ContainerURL";
import { getBSU, getUniqueName } from "./utils/index";
import * as assert from "assert";
import { appendToURLPath } from "../lib/utils/utils.common";
import * as dotenv from "dotenv";
dotenv.config({path:"../.env"});

describe("Special Naming Tests", () => {
const serviceURL = getBSU();
Expand Down
1 change: 1 addition & 0 deletions packages/@azure/storage/file/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// https://github.com/karma-runner/karma-chrome-launcher
process.env.CHROME_BIN = require("puppeteer").executablePath();
require("dotenv").config({path:"../.env"});

module.exports = function(config) {
config.set({
Expand Down
15 changes: 15 additions & 0 deletions packages/@azure/storage/file/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions packages/@azure/storage/file/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@
"tslib": "^1.9.3"
},
"devDependencies": {
"@types/dotenv": "^6.1.0",
"@types/mocha": "^5.2.5",
"@types/node": "^10.12.18",
"assert": "^1.4.1",
"cross-env": "^5.2.0",
"dotenv": "^7.0.0",
"es6-promise": "^4.2.5",
"gulp": "^4.0.0",
"gulp-zip": "^4.2.0",
Expand Down
2 changes: 2 additions & 0 deletions packages/@azure/storage/file/tests/aborter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import * as assert from "assert";
import { Aborter } from "../lib/Aborter";
import { ShareURL } from "../lib/ShareURL";
import { getBSU, getUniqueName } from "./utils";
import * as dotenv from "dotenv";
dotenv.config({path:"../.env"});

// tslint:disable:no-empty
describe("Aborter", () => {
Expand Down
2 changes: 2 additions & 0 deletions packages/@azure/storage/file/tests/directoryurl.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import { DirectoryURL } from "../lib/DirectoryURL";
import { FileURL } from "../lib/FileURL";
import { ShareURL } from "../lib/ShareURL";
import { getBSU, getUniqueName } from "./utils";
import * as dotenv from "dotenv";
dotenv.config({path:"../.env"});

describe("DirectoryURL", () => {
const serviceURL = getBSU();
Expand Down
2 changes: 2 additions & 0 deletions packages/@azure/storage/file/tests/fileurl.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import { DirectoryURL } from "../lib/DirectoryURL";
import { FileURL } from "../lib/FileURL";
import { ShareURL } from "../lib/ShareURL";
import { bodyToString, getBSU, getUniqueName, sleep } from "./utils";
import * as dotenv from "dotenv";
dotenv.config({path:"../.env"});

describe("FileURL", () => {
const serviceURL = getBSU();
Expand Down
2 changes: 2 additions & 0 deletions packages/@azure/storage/file/tests/retrypolicy.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import { ShareURL } from "../lib/ShareURL";
import { Pipeline } from "../lib/Pipeline";
import { getBSU, getUniqueName } from "./utils";
import { InjectorPolicyFactory } from "./utils/InjectorPolicyFactory";
import * as dotenv from "dotenv";
dotenv.config({path:"../.env"});

describe("RetryPolicy", () => {
const serviceURL = getBSU();
Expand Down
2 changes: 2 additions & 0 deletions packages/@azure/storage/file/tests/serviceurl.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import * as assert from "assert";
import { Aborter } from "../lib/Aborter";
import { ShareURL } from "../lib/ShareURL";
import { getBSU, getUniqueName, wait } from "./utils";
import * as dotenv from "dotenv";
dotenv.config({path:"../.env"});

describe("ServiceURL", () => {
it("ListShares with default parameters", async () => {
Expand Down
2 changes: 2 additions & 0 deletions packages/@azure/storage/file/tests/shareurl.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import * as assert from "assert";
import { Aborter } from "../lib/Aborter";
import { ShareURL } from "../lib/ShareURL";
import { getBSU, getUniqueName } from "./utils";
import * as dotenv from "dotenv";
dotenv.config({path:"../.env"});

describe("ShareURL", () => {
const serviceURL = getBSU();
Expand Down
2 changes: 2 additions & 0 deletions packages/@azure/storage/file/tests/specialnaming.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import { getBSU, getUniqueName } from "./utils/index";
import * as assert from "assert";
import { appendToURLPath } from "../lib/utils/utils.common";
import { DirectoryURL } from "../lib/DirectoryURL";
import * as dotenv from "dotenv";
dotenv.config({path:"../.env"});

describe("Special Naming Tests", () => {
const serviceURL = getBSU();
Expand Down
1 change: 1 addition & 0 deletions packages/@azure/storage/queue/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// https://github.com/karma-runner/karma-chrome-launcher
process.env.CHROME_BIN = require("puppeteer").executablePath();
require("dotenv").config({path:"../.env"});

module.exports = function(config) {
config.set({
Expand Down
Loading