Skip to content

Commit

Permalink
fix future-defaults scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Sep 24, 2021
1 parent a05ac7d commit 8d6ae8d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion bin/measure-mean-normalized.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ const [
caseName = "minimal",
scenarioName = "development-default-build",
date = undefined,
normalDate = scenarioName.includes("swc-env") ? "2021-05-10" : "2021-02-15",
normalDate = scenarioName.includes("future-defaults")
? "2021-09-20"
: scenarioName.includes("swc-env")
? "2021-05-10"
: "2021-02-15",
] = process.argv;

const rootDir = resolve(fileURLToPath(import.meta.url), "../..");
Expand Down
2 changes: 1 addition & 1 deletion bin/random-missing.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const dirExist = async (p) => {
for (const date of Array.from(dates).sort((a, b) => (a < b ? 1 : -1))) {
for (const testCase of Array.from(testCases).sort(randomOrder)) {
for (const scenario of Array.from(scenarios).sort(randomOrder)) {
if (scenario.includes("future-defaults") && date < "2021-09-11") {
if (scenario.includes("future-defaults") && date < "2021-09-17") {
continue;
}
if (!existing.has(`${date}/${testCase}_${scenario}`)) {
Expand Down

0 comments on commit 8d6ae8d

Please sign in to comment.