зеркало из https://github.com/Azure/ms-rest-js.git
Remove unnecessary JSON.stringify and filter out nodejs tests from webpack
This commit is contained in:
Родитель
29baedd950
Коммит
9ddb218dcf
|
@ -36,14 +36,14 @@ describe("serializationPolicy", () => {
|
|||
"1": "one",
|
||||
"2": "2"
|
||||
},
|
||||
body: JSON.stringify({
|
||||
body: {
|
||||
"booleanProperty": false,
|
||||
"numberProperty": 20,
|
||||
"objectProperty": { "booleanProperty": true },
|
||||
"sequenceProperty": [],
|
||||
"dateProperty": new Date("2018-10-05"),
|
||||
"dateTimeRfc1123Property": new Date("2011-10-05T14:48:00.000Z")
|
||||
}),
|
||||
},
|
||||
operationSpec: {
|
||||
requestHttpMethod: HttpMethod.GET,
|
||||
requestBodySpec: compositeSpec("FakeRequestBody", {
|
||||
|
|
|
@ -3,7 +3,7 @@ import * as glob from 'glob';
|
|||
import * as path from 'path';
|
||||
|
||||
const config: webpack.Configuration = {
|
||||
entry: [...glob.sync('./test/*.ts'), ...glob.sync('./test/browser/*.ts')],
|
||||
entry: glob.sync('./test/**/*.ts').filter(filename => !filename.endsWith(".node.ts")),
|
||||
mode: 'development',
|
||||
devtool: 'source-map',
|
||||
devServer: {
|
||||
|
|
Загрузка…
Ссылка в новой задаче