Skip to content

Commit b0143e1

Browse files
committed
chore(createViewerTest): bump timeout to 10s, babel warnings
1 parent 25d5a4f commit b0143e1

File tree

4 files changed

+50
-42
lines changed

4 files changed

+50
-42
lines changed

.babelrc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
"plugins": [
1515
"@babel/plugin-transform-runtime",
1616
["@babel/plugin-proposal-decorators", { "legacy": true }],
17-
["@babel/plugin-proposal-class-properties", { "loose": true }],
18-
["@babel/plugin-proposal-private-methods", { "loose": true }],
19-
["@babel/plugin-proposal-private-property-in-object", { "loose": true }]
17+
["@babel/plugin-proposal-class-properties", { "loose": false }]
2018
]
2119
}

src/UI/reference-ui/.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
"plugins": [
1414
"@babel/plugin-transform-runtime",
1515
["@babel/plugin-proposal-decorators", { "legacy": true }],
16-
["@babel/plugin-proposal-class-properties", { "loose": true }]
16+
["@babel/plugin-proposal-class-properties", { "loose": false }]
1717
]
1818
}

src/UI/reference-ui/dist/referenceUIMachineOptions.js

Lines changed: 47 additions & 37 deletions
Large diffs are not rendered by default.

test/createViewerTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ test('Test createViewer', async t => {
440440
//2.0,
441441
//gc.releaseResources
442442
//)
443-
}, 2000)
443+
}, 10000)
444444
})
445445

446446
test('Test createViewer.setImage', async t => {

0 commit comments

Comments
 (0)