Skip to content

Commit

Permalink
chore: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
UnderKoen committed Jan 20, 2025
1 parent 6f4f1c4 commit 7db7e10
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/files/order/spread-export.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const test = {
a: 1,
browser: 2,
};

module.exports = {
...test,
platform: 'node',
};
5 changes: 5 additions & 0 deletions tests/src/rules/order.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ const rule = require('rules/order');

ruleTester.run('order', rule, {
valid: [
test({
code: `
import { platform, a, browser } from './order/spread-export';
`,
}),
// Default order using require
test({
code: `
Expand Down

0 comments on commit 7db7e10

Please sign in to comment.