summaryrefslogtreecommitdiff
path: root/spec/javascripts/test_bundle.js
Commit message (Collapse)AuthorAgeFilesLines
* Web IDE & CodeSandboxPhil Hughes2018-08-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This enables JavaScripts projects to have live previews straight in the browser without requiring any local configuration. This uses the CodeSandbox package `sandpack` to compile it all inside of an iframe. This feature is off by default and can be toggled on in the admin settings. Only projects with a `package.json` and a `main` key are supported. Updates happen in real-time with hot-reloading. We just watch for changes to files and then send them to `sandpack` to allow it to reload the iframe. The iframe includes a very simple navigation bar, the text bar is `readonly` to stop users navigating away from the preview and the back and forward buttons just pop/splice the navigation stack which is tracked by a listener on `sandpack` There is a button inside the iframe which allows the user to open the projects inside of CodeSandbox. This button is only visible on **public** projects. On private or internal projects this button get hidden to protect private code being leaked into an external public URL. Closes #47268
* Raise timeout for Karma tests to 2 secondsWinnie Hellmann2018-08-011-1/+1
|
* Merge branch 'winh-lint-console-tests' into 'master'Mike Greiling2018-07-311-1/+3
|\ | | | | | | | | Enable no-console ESLint rule for tests See merge request gitlab-org/gitlab-ce!20812
| * Enable no-console ESLint rule for testswinh-lint-console-testsWinnie Hellmann2018-07-241-1/+3
| |
* | Fail Karma tests that take longer than a secondWinnie Hellmann2018-07-231-0/+13
|/
* Merge branch '49128-improve-log-output-of-jasmine-toequal' into 'master'Mike Greiling2018-07-131-1/+10
|\ | | | | | | | | | | | | Resolve "Improve log output of jasmine `toEqual` diffs" Closes #49128 See merge request gitlab-org/gitlab-ce!20557
| * improve log output of jasmine `toEqual` with nested objects/arrays49128-improve-log-output-of-jasmine-toequalLukas Eipert2018-07-111-1/+10
| |
* | Include Vue files that are not covered by tests in test coverage48912-vue-files-without-tests-missing-in-coverage-reportWinnie Hellmann2018-07-121-2/+2
|/
* Bring changes from EELin Jen-Shin2018-06-251-1/+0
|
* Merge branch 'move-boards-modal-empty-state-vue-component' into 'master'Filipa Lacerda2018-06-211-1/+1
|\ | | | | | | | | Move boards modal EmptyState vue component See merge request gitlab-org/gitlab-ce!20068
| * Move boards modal EmptyState vue componentGeorge Tsiolis2018-06-211-1/+1
| |
* | Changes tab VUE refactoringFelipe Artur2018-06-211-1/+2
|/
* Enable no-multi-assignment in JS filesgfyoung2018-06-151-1/+2
| | | | Partially addresses #47006.
* Fix memory and performance issues in Karma test suiteMike Greiling2018-05-011-11/+1
|
* add spyOnDependency methodMike Greiling2018-04-231-1/+13
|
* Merge branch 'winh-single-karma-test' into 'master'Clement Ho2018-04-111-1/+13
|\ | | | | | | | | | | | | Add possibility to filter Karma spec files by path Closes #40899 See merge request gitlab-org/gitlab-ce!16102
| * remove `instanceof Array` testLukas Eipert2018-04-101-4/+3
| |
| * move TEST_FILES variable to `process.env`Lukas Eipert2018-04-101-7/+6
| |
| * prettierLukas Eipert2018-04-101-10/+10
| |
| * read which testfiles to run from CLILukas Eipert2018-04-101-7/+9
| |
| * Merge branch 'master' into winh-single-karma-testLukas Eipert2018-04-101-8/+27
| |\ | | | | | | | | | | | | # Conflicts: # spec/javascripts/test_bundle.js
| * | Add option to run a single Karma spec filewinh-single-karma-testWinnie Hellmann2017-12-221-2/+13
| | |
* | | Fixed markdown preview in IDE not working for new filesPhil Hughes2018-04-101-9/+10
| |/ |/|
* | Projects and groups badges settings UIFrancisco Javier López2018-04-081-3/+8
| |
* | Remove u2f webpack bundleMike Greiling2018-03-011-0/+1
| |
* | remove unused filtered_search webpack bundleMike Greiling2018-02-281-1/+0
| |
* | Explicitly add uncovered files to troubleMakersboards-bundle-refactorClement Ho2018-02-231-0/+3
| |
* | Temporarily remove boards from test bundle troubleMakersClement Ho2018-02-211-1/+0
| |
* | Removed named importConstance Okoghenun2018-02-211-0/+1
| |
* | Resolved conflicts with masterConstance Okoghenun2018-02-211-1/+4
|\ \
| * | Update to jQuery 3.Jacob Schatz2018-02-201-1/+4
| | |
* | | Fixed failing testConstance Okoghenun2018-02-161-1/+0
| | |
* | | Refactored use of boards/boards_bundle.js, created a dipatcher importConstance Okoghenun2018-02-151-1/+1
|/ /
* | Make sure that axios adapater is restored after mockingwinh-check-axios-restoreWinnie Hellmann2018-01-251-0/+10
| |
* | Tidy up main JS filemain-js-tidy-upPhil Hughes2018-01-101-2/+0
|/
* Add Vue errorHandlor to remove rogue logged TypeErrorsEric Eastwood2017-12-101-1/+11
| | | | See https://gitlab.com/gitlab-org/gitlab-ce/issues/37619#note_50422859
* Use Vue warnhandlerwinh-use-vue-warnhandlerWinnie Hellmann2017-11-061-18/+22
|
* Merge branch 'winh-karma-suppress-vue-tips' into 'master'Clement Ho2017-06-261-0/+4
|\ | | | | | | | | Suppress Vue tips when running Karma See merge request !12379
| * Suppress Vue tips when running Karmawinh-karma-suppress-vue-tipswinh2017-06-221-0/+4
| |
* | Make JavaScript tests fail for unhandled Promise rejectionsWinnie Hellmann2017-06-231-0/+17
|/
* Clean up Vue warnings in testsWinnie Hellmann2017-06-201-1/+25
|
* Increase karma socket timeoutMike Greiling2017-06-161-0/+8
|
* Remove non existent bundleAlfredo Sumaran2017-06-061-1/+0
|
* update test_bundle to use ES module syntaxMike Greiling2017-05-161-6/+8
|
* Merge request widget redesignFatih Acet2017-05-091-1/+0
|
* Use absolute URLs for fixtures (!11133)winh-fix-ture-urlswinh2017-05-061-2/+2
|
* Issue title realtimeRegis Boudinot2017-04-061-0/+1
|
* update test_bundle.js ignored filesJose Ivan Vargas2017-03-241-0/+19
|
* Merge branch 'refactor-templates-js' into 'master' Alfredo Sumaran2017-03-241-1/+2
|\ | | | | | | | | Refactor template selector JavaScript See merge request !9792
| * Lightly refactor js files related to file template selectors.Bryce Johnson2017-03-221-1/+2
| |