Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: third_party/pkg/angular/scripts/changelog/changelog.spec.js

Issue 1058283006: Update pubspecs and dependencies to get pkgbuild tests working. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/pkg/angular/scripts/changelog/changelog.js ('k') | third_party/pkg/angular/scripts/env.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/pkg/angular/scripts/changelog/changelog.spec.js
diff --git a/third_party/pkg/angular/scripts/changelog/changelog.spec.js b/third_party/pkg/angular/scripts/changelog/changelog.spec.js
deleted file mode 100644
index c0470463cd1b6302aada0496b3e6680524ce4488..0000000000000000000000000000000000000000
--- a/third_party/pkg/angular/scripts/changelog/changelog.spec.js
+++ /dev/null
@@ -1,43 +0,0 @@
-describe('changelog.js', function() {
- var ch = require(__dirname + '/changelog.js');
-
- 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' +
- 'BREAKING CHANGE: first breaking change\nsomething else\n' +
- 'another line with more info\n');
-
- expect(msg.breaking).toEqual(' first breaking change\nsomething else\nanother line with more info\n');
- });
- });
-});
« no previous file with comments | « third_party/pkg/angular/scripts/changelog/changelog.js ('k') | third_party/pkg/angular/scripts/env.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698