8000 angular.js/changelog.spec.js at master · anjo/angular.js · GitHub
[go: up one dir, main page]

Skip to content
{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":".externalToolBuilders","path":".externalToolBuilders","contentType":"directory"},{"name":".settings","path":".settings","contentType":"directory"},{"name":"css","path":"css","contentType":"directory"},{"name":"docs","path":"docs","contentType":"directory"},{"name":"example","path":"example","contentType":"directory"},{"name":"i18n","path":"i18n","contentType":"directory"},{"name":"images","path":"images","contentType":"directory"},{"name":"lib","path":"lib","contentType":"directory"},{"name":"logs","path":"logs","contentType":"directory"},{"name":"perf","path":"perf","contentType":"directory"},{"name":"regression","path":"regression","contentType":"directory"},{"name":"src","path":"src","contentType":"directory"},{"name":"test","path":"test","contentType":"directory"},{"name":"tmp","path":"tmp","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".project","path":".project","contentType":"file"},{"name":"CHANGELOG.md","path":"CHANGELOG.md","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"Rakefile","path":"Rakefile","contentType":"file"},{"name":"angularFiles.js","path":"angularFiles.js","contentType":"file"},{"name":"angularjs.ftp","path":"angularjs.ftp","contentType":"file"},{"name":"changelog.js","path":"changelog.js","contentType":"file"},{"name":"changelog.spec.js","path":"changelog.spec.js","contentType":"file"},{"name":"changelog.tmp.md","path":"changelog.tmp.md","contentType":"file"},{"name":"check-size.sh","path":"check-size.sh","contentType":"file"},{"name":"gdocs.js","path":"gdocs.js","contentType":"file"},{"name":"gen_docs.sh","path":"gen_docs.sh","contentType":"file"},{"name":"gen_jstd_configs.js","path":"gen_jstd_configs.js","contentType":"file"},{"name":"java","path":"java","contentType":"file"},{"name":"link-docs.sh","path":"link-docs.sh","contentType":"file"},{"name":"nodeserver.sh","path":"nodeserver.sh","contentType":"file"},{"name":"pom.xml","path":"pom.xml","contentType":"file"},{"name":"release-commit.sh","path":"release-commit.sh","contentType":"file"},{"name":"server-coverage.sh","path":"server-coverage.sh","contentType":"file"},{"name":"server-scenario.sh","path":"server-scenario.sh","contentType":"file"},{"name":"server.sh","path":"server.sh","contentType":"file"},{"name":"start-iteration.sh","path":"start-iteration.sh","contentType":"file"},{"name":"test-coverage.sh","path":"test-coverage.sh","contentType":"file"},{"name":"test-jquery.sh","path":"test-jquery.sh","contentType":"file"},{"name":"test-modules.sh","path":"test-modules.sh","contentType":"file"},{"name":"test-perf.sh","path":"test-perf.sh","contentType":"file"},{"name":"test-reset.sh","path":"test-reset.sh","contentType":"file"},{"name":"test-scenario.sh","path":"test-scenario.sh","contentType":"file"},{"name":"test.sh","path":"test.sh","contentType":"file"},{"name":"version.js","path":"version.js","contentType":"file"},{"name":"version.yaml","path":"version.yaml","contentType":"file"},{"name":"watchr-docs.rb","path":"watchr-docs.rb","contentType":"file"},{"name":"watchr.rb","path":"watchr.rb","contentType":"file"}],"totalCount":49}},"fileTreeProcessingTime":3.34234,"foldersToFetch":[],"incompleteFileTree":false,"repo":{"id":4337203,"defaultBranch":"master","name":"angular.js","ownerLogin":"anjo","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2012-05-15T15:16:46.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/3205?v=4","public":true,"private":false,"isOrgOwned":false},"codeLineWrapEnabled":false,"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"master","listCacheKey":"v0:1613558786.0786839","canEdit":false,"refType":"branch","currentOid":"301d8f233b363b27c5e8ded009ee5fd875c174fc"},"path":"changelog.spec.js","currentUser":null,"blob":{"rawLines":["describe('changelog.js', function() {"," var ch = require('./changelog');",""," describe('parseRawCommit', function() {"," it('should parse raw commit', function() {"," var msg = ch.parseRawCommit("," '9b1aff905b638aa274a5fc8f88662df446d374bd\\n' +"," 'feat(scope): broadcast $destroy event on scope destruction\\n' +"," 'perf testing shows that in chrome this change adds 5-15% overhead\\n' +"," 'when destroying 10k nested scopes where each scope has a $destroy listener\\n');",""," expect(msg.type).toBe('feat');"," expect(msg.hash).toBe('9b1aff905b638aa274a5fc8f88662df446d374bd');"," expect(msg.subject).toBe('broadcast $destroy event on scope destruction');"," expect(msg.body).toBe('perf testing shows that in chrome this change adds 5-15% overhead\\n' +"," 'when destroying 10k nested scopes where each scope has a $destroy listener\\n')"," expect(msg.component).toBe('scope');"," });","",""," it('should parse closed issues', function() {"," var msg = ch.parseRawCommit("," '13f31602f396bc269076ab4d389cfd8ca94b20ba\\n' +"," 'feat(ng-list): Allow custom separator\\n' +"," 'bla bla bla\\n\\n' +"," 'Closes #123\\nCloses #25\\n');",""," expect(msg.closes).toEqual([123, 25]);"," });","",""," it('should parse breaking changes', function() {"," var msg = ch.parseRawCommit("," '13f31602f396bc269076ab4d389cfd8ca94b20ba\\n' +"," 'feat(ng-list): Allow custom separator\\n' +"," 'bla bla bla\\n\\n' +"," 'Breaks first breaking change\\nsomething else\\n' +"," 'Breaks another breaking change\\n');",""," expect(msg.breaks).toEqual(['first breaking change', 'another breaking change']);"," });"," });","});"],"stylingDirectives":null,"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/anjo/angular.js/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"changelog.spec.js","displayUrl":"https://github.com/anjo/angular.js/blob/master/changelog.spec.js?raw=true","headerInfo":{"blobSize":"1.66 KB","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"1d3b7fe","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fanjo%2Fangular.js%2Fblob%2Fmaster%2Fchangelog.spec.js","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"43","truncatedSloc":"35"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"JavaScript","languageID":183,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/anjo/angular.js/blob/master/changelog.spec.js","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/anjo/angular.js/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/anjo/angular.js/raw/refs/heads/master/changelog.spec.js","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":false,"symbols":[]}},"copilotInfo":null,"copilotAccessAllowed":false,"modelsAccessAllowed":false,"modelsRepoIntegrationEnabled":false,"csrf_tokens":{"/anjo/angular.js/branches":{"post":"_cXtPvqNNWO9H0abdR3BQ-2tTkOFTg9QO-6lZ9UeIvBIAaOLUKe6ZrfoNibMrU2mY1Ib9qq1b0vyOUKKmqxaaQ"},"/repos/preferences":{"post":"sxgFo7AnroqZfQAmCMxr-ohUw7l-fOWgbRuK3jpNxky8fqIbWIVMc-w5ZRFBNEIwJvhEFqQ1BZUuk5pwzlgOYg"}}},"title":"angular.js/changelog.spec.js at master · anjo/angular.js","appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-7d7eb7c71814.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-1ae9fa256942.js","githubDevUrl":null,"enabled_features":{"code_nav_ui_events":false,"react_blob_overlay":false,"accessible_code_button":true,"github_models_repo_integration":false}}}
0