Skip to content

Commit

Permalink
[Tables] Enable recorded tests in CI (#11238)
Browse files Browse the repository at this point in the history
* Enable recorded tests in CI

* Update test script

* Add pollyfill
  • Loading branch information
joheredi authored Sep 18, 2020
1 parent 7493074 commit dcc7761
Show file tree
Hide file tree
Showing 34 changed files with 72,505 additions and 2,353 deletions.
24 changes: 14 additions & 10 deletions sdk/tables/data-tables/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,15 @@
"test:browser": "npm run build:test && npm run unit-test:browser && npm run integration-test:browser",
"test:node": "npm run build:test && npm run unit-test:node && npm run integration-test:node",
"test": "npm run build:test && npm run unit-test && npm run integration-test",
"unit-test:browser": "karma start --single-run --testMode=unit",
"unit-test:node": "mocha --reporter ../../../common/tools/mocha-multi-reporter.js dist-test/unit.index.node.js",
"unit-test:browser": "karma start --single-run --testMode=unit && npm run integration-test:browser",
"unit-test:node": "mocha --reporter ../../../common/tools/mocha-multi-reporter.js dist-test/unit.index.node.js && npm run integration-test:node",
"unit-test": "npm run unit-test:node && npm run unit-test:browser"
},
"files": [
"dist/",
"dist-esm/src/",
"types/tables.d.ts",
"types/latest/",
"types/3.1/",
"README.md",
"LICENSE"
],
Expand All @@ -62,13 +61,6 @@
"engines": {
"node": ">=8.0.0"
},
"typesVersions": {
"<3.6": {
"types/latest/*": [
"types/3.1/*"
]
}
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/data-tables/",
"sideEffects": false,
"prettier": "@azure/eslint-plugin-azure-sdk/prettier.json",
Expand Down Expand Up @@ -127,5 +119,17 @@
"@azure/test-utils-recorder": "^1.0.0",
"rollup-plugin-shim": "^1.0.0",
"@rollup/plugin-inject": "^4.0.0"
},
"//metadata": {
"constantPaths": [
{
"path": "src/generated/generatedClientContext.ts",
"prefix": "packageVersion"
},
{
"path": "src/utils/constants.ts",
"prefix": "SDK_VERSION"
}
]
}
}

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

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

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

Loading

0 comments on commit dcc7761

Please sign in to comment.