We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73932ee commit 62c54d8Copy full SHA for 62c54d8
tests/test-common.js
@@ -552,20 +552,7 @@ function createTestOptions(opts) {
552
options[key] = opts[key];
553
}
554
555
- let p = Promise.resolve();
556
- for(const key in options) {
557
- if(key === 'expandContext') {
558
- p = p.then(() => {
559
- return joinPath(test.dirname, options[key]);
560
- }).then(filename => {
561
- return readJson(filename);
562
- }).then(json => {
563
- options[key] = json;
564
- });
565
- }
566
567
-
568
- return p.then(() => options);
+ return options;
569
};
570
571
0 commit comments