Skip to content

Commit

Permalink
Fixed package.json so npm run server works in windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
zoltan-dulac committed Sep 22, 2022
1 parent a16d1eb commit bd42a83
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion js/modules/es4/paginate.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const paginationTables = new function() {

for (let i=0; i<rows.length; i++) {
rows[i].classList.remove(inactiveClass);
};
}

table.dataset.currentpage = 0;
}
Expand Down
2 changes: 1 addition & 1 deletion js/modules/es4/sortable-tables.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ const sortableTables = new (function () {

this.activateAllSortableTables = (withinEl, options) => {
var sortableTables = (withinEl || document).querySelectorAll(
".deque-table-sortable-group"
".deque-table-sortable__group"
);
for (var i = 0; i < sortableTables.length; i++) {
this.add(sortableTables[i], options);
Expand Down
14 changes: 6 additions & 8 deletions js/test/visibleFocusStates.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,12 @@ describe('Test Focus States on all pages on Enable', () => {

for (let i=0; i<fileList.length; i++) {
const file = fileList[i];
if ( file !== 'askip-link.php') {
it(`Desktop Breakpoint: Test focus states on ${fileList[i]}`, async () => {
await testPage(fileList[i], desktopPage);
});
it(`Mobile Breakpoint: Test focus states on ${fileList[i]}`, async () => {
await testPage(fileList[i], mobilePage);
});
}
it(`Desktop Breakpoint: Test focus states on ${fileList[i]}`, async () => {
await testPage(fileList[i], desktopPage);
});
it(`Mobile Breakpoint: Test focus states on ${fileList[i]}`, async () => {
await testPage(fileList[i], mobilePage);
});
}

});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"jest": "jest",
"test": "bin/checkHTML && jest",
"lint": "bin/checkHTML",
"server": "node bin/promote-node-modules-to-server.js && bin/convert-modules-to-libs.sh && concurrently --kill-others \"less-watch-compiler\" \"node bin/server.js\""
"server": "node bin/promote-node-modules-to-server.js && bash bin/convert-modules-to-libs.sh && concurrently --kill-others \"less-watch-compiler\" \"node bin/server.js\""
},
"jest": {
"verbose": true,
Expand Down

0 comments on commit bd42a83

Please sign in to comment.