Skip to content

Commit

Permalink
fix Alyeska resort
Browse files Browse the repository at this point in the history
  • Loading branch information
pirxpilot committed Jan 25, 2025
1 parent b50e47d commit 4e2b8a0
Show file tree
Hide file tree
Showing 3 changed files with 4,256 additions and 2,861 deletions.
10 changes: 6 additions & 4 deletions lib/resorts/alyeska/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
module.exports = {
selector: 'table.t1 tr:nth-child(n + 2)',
selector: '.elementor-icon-box-content',
parse: {
filter: node => node.children.length > 2,
name: 0,
status: 1
name: '0/0',
status: {
child: '1/0',
regex: /([a-z]+)$/i
}
}
};
11 changes: 7 additions & 4 deletions test/resorts/alyeska.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@ const lifts = require('../lifts');

lifts('alyeska', 'html', {
'Aerial Tram': 'open',
'Glacier Bowl Express': 'closed',
'Ted’s Express': 'closed',
'Bear Cub Quad': 'closed',
'Chair 7': 'closed'
'Chair 7': 'open',
'Glacier Bowl': 'scheduled',
"TeD's Express": 'open',
'Bear Cub Quad': 'open',
'Terrain Parks': 'scheduled',
Finnland: 'open',
"Wade's Way": 'open'
});
Loading

0 comments on commit 4e2b8a0

Please sign in to comment.