Skip to content

Commit

Permalink
Experimental update to 3.99.1
Browse files Browse the repository at this point in the history
This version should still work like 3.10.1 but print deprecation messages
if any API is used that won't work in 4.0.0.
  • Loading branch information
ptomato committed Jul 14, 2024
1 parent 06d8ee3 commit c524a1e
Show file tree
Hide file tree
Showing 7 changed files with 1,615 additions and 1,144 deletions.
900 changes: 775 additions & 125 deletions lib/jasmine.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/update-jasmine.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This script is used to build our custom version of the Jasmine library by
# downloading the upstream file and applying our patches, and is meant for use
# only when upgrading to a new upstream version.
curl -o jasmine.js https://raw.githubusercontent.com/jasmine/jasmine/v3.10.1/lib/jasmine-core/jasmine.js
curl -o jasmine.js https://raw.githubusercontent.com/jasmine/jasmine/v3.99.1/lib/jasmine-core/jasmine.js
# patch <local-modifications.patch jasmine.js
7 changes: 4 additions & 3 deletions meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
project('jasmine-gjs', version: '3.10.1', license: 'MIT',
project('jasmine-gjs', version: '3.99.1', license: 'MIT',
meson_version: '>= 0.58.0')

gjs_dep = dependency('gjs-1.0', required: false)
Expand Down Expand Up @@ -70,14 +70,15 @@ endif
# Tests

tests = [
'0_your_first_suite',
'custom_matcher',

'commandSpec',
'configSpec',
'consoleReporterSpec',
'defaultReporterSpec',
'focusedSpecIntegrationTest',
'importerSpec',
'jasmineBootSpec',
'jasmineIntegrationTest',
'junitReporterSpec',
'optionsSpec',
'tapReporterSpec',
Expand Down
6 changes: 3 additions & 3 deletions release-checklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
- [ ] Delete `lib/jasmine.js`.
- [ ] Run `cd lib; ./update-jasmine.sh` to regenerate `lib/jasmine.js` from the new upstream version.
- [ ] Resolve patch conflicts with the new upstream version if necessary.
- [ ] If making a new major release, update `test/jasmineIntegrationTest.js` and `test/focusedSpecIntegrationTest.js` from `https://github.com/jasmine/jasmine.github.io/tree/master/_versions/<VERSION>/src`.
Currently we use `introduction.js`, `custom_equality.js`, `custom_matcher.js`, and `focused_specs.js`, but there may be new features that should be included as well.
Strip the documentation comments and the weird indentation.
- [ ] If making a new major release, update `test/jasmineIntegrationTest.js` and `test/focusedSpecIntegrationTest.js` from the appropriate point in the history of `https://github.com/jasmine/jasmine.github.io/tree/d9b48e17/_tutorials/src`.
Currently we use `0_your_first_suite.js` and `custom_matcher.js`, but there may be new features that should be included as well.
Remove the browser feature detection and put the "long asynchronous suite" test inside a check for an environment variable.
- [ ] If making a new major release, see if there are any new features that we can use to improve jasmine-gjs's own tests.
- [ ] Run `meson test`.
- [ ] Make a commit.
Expand Down
Loading

0 comments on commit c524a1e

Please sign in to comment.