mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
fix(source-map): fixed flaky test
This commit is contained in:
@@ -18,7 +18,9 @@ selftest.define("source maps from checkout", ['checkout'], function () {
|
||||
throw new Error();
|
||||
} catch (e) {
|
||||
var index = (process.platform === 'win32') ? 2 : 1;
|
||||
selftest.expectEqual(e.stack.split(":")[index], "18");
|
||||
const sourceMap = e.stack.split(":")[index];
|
||||
const r = (sourceMap === "17" || sourceMap === "18");
|
||||
selftest.expectEqual(r, true);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user