Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Your pull request will undergo a review and if approved will be merged. All chec
In order to perform all the necessary checks before pulling your changes in, you need to run

npm install
grunt verify
npx grunt verify

# Workflow
When working on an issue for the Ignite UI for jQuery repository, you need to be aware of and to follow a correct status workflow. We have created a number of status labels in order to communicate well what the current status of a single issue/pull request is. The statuses are as follows:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: grunt build
- run: npm run build
- run: npm run cover

- name: Publish to coveralls.io
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- run: echo "NODE_OPTIONS='--max_old_space_size=4096'" >> $GITHUB_ENV
- run: npm ci

- run: grunt build
- run: npm run build

# define npm tag
- run: if [[ ${VERSION} == *"alpha"* || ${VERSION} == *"beta"* || ${VERSION} == *"rc"* ]]; then echo "NPM_TAG=next"; else echo "NPM_TAG=latest"; fi >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ The command will install all build dependencies as well as bower packages used i

To build the product:
```bash
grunt build
npm run build
```
This will create source files under the `dist/` folder complete with merged locales, combined script and structure CSS and can be called again to include new changes.

Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"scripts": {
"test": "karma start",
"cover": "grunt hint && npm test -- --single-run",
"postinstall": "npm install -g grunt-cli",
"build": "grunt build"
},
"dependencies": {
Expand Down
10 changes: 6 additions & 4 deletions tests/unit/upload/upload-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -480,13 +480,15 @@ QUnit.test('[ID14] igUpload MULTIPLE MODE test show/hide details', function (ass

// MULTIPLE UPLOAD Show/Hide Details
var click = jQuery.Event("click"),
buttonShowHideDetails = $('#' + uploaderId + '_shdbtn');
buttonShowHideDetails = $('#' + uploaderId + '_shdbtn'),
fileContainer = $('#' + uploaderId + '_fc');
buttonShowHideDetails.trigger(click);

$.ig.TestUtil.wait(500).then(function () {
assert.equal($('#' + uploaderId + '_fc').is(':hidden'), true, 'File container should be hidden.');
// wait for the slideToggle animation to complete instead of a fixed timeout equal to its duration
fileContainer.promise().then(function () {
assert.equal(fileContainer.is(':hidden'), true, 'File container should be hidden.');
buttonShowHideDetails.trigger(click);
assert.equal($('#' + uploaderId + '_fc').is(':hidden'), false, 'File container should be hidden.');
assert.equal(fileContainer.is(':hidden'), false, 'File container should be visible.');
done();
}).catch(function (er) {
assert.pushResult({ result: false, message: er.message });
Expand Down
Loading