Skip to content

Commit

Permalink
Rename support files to end in _FIXTURE.js (#4368)
Browse files Browse the repository at this point in the history
  • Loading branch information
syg authored Jan 9, 2025
1 parent 1d7a293 commit 7f12305
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// |reftest| skip -- support file
// Copyright (C) 2024 Mozilla Corporation. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
if (globalThis.testArray === undefined) {
globalThis.testArray = [];
}
Expand Down
6 changes: 0 additions & 6 deletions test/staging/sm/module/bug1693261-c1.mjs

This file was deleted.

8 changes: 8 additions & 0 deletions test/staging/sm/module/bug1693261-c1_FIXTURE.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// |reftest| skip -- support file
// Copyright (C) 2024 Mozilla Corporation. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
import "./bug1693261-async_FIXTURE.js";
if (globalThis.testArray === undefined) {
globalThis.testArray = [];
}
globalThis.testArray.push("c1");
6 changes: 0 additions & 6 deletions test/staging/sm/module/bug1693261-c2.mjs

This file was deleted.

8 changes: 8 additions & 0 deletions test/staging/sm/module/bug1693261-c2_FIXTURE.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// |reftest| skip -- support file
// Copyright (C) 2024 Mozilla Corporation. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
import "./bug1693261-async_FIXTURE.js";
if (globalThis.testArray === undefined) {
globalThis.testArray = [];
}
globalThis.testArray.push("c2");
6 changes: 0 additions & 6 deletions test/staging/sm/module/bug1693261-x.mjs

This file was deleted.

8 changes: 8 additions & 0 deletions test/staging/sm/module/bug1693261-x_FIXTURE.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// |reftest| skip -- support file
// Copyright (C) 2024 Mozilla Corporation. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
import "./bug1693261-c1_FIXTURE.js";
if (globalThis.testArray === undefined) {
globalThis.testArray = [];
}
globalThis.testArray.push("x");

0 comments on commit 7f12305

Please sign in to comment.