Skip to content

Commit

Permalink
Remove the ropm step, devs just need to do this manually
Browse files Browse the repository at this point in the history
  • Loading branch information
TwitchBronBron committed Jan 30, 2025
1 parent 397403f commit cafc050
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 29 deletions.
1 change: 0 additions & 1 deletion bsc-plugin/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions bsc-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@
"publish-npm:beta": "npm run test && npm publish --tag=beta",
"local": "ts-node scripts/install-local.js",
"remote": "ts-node scripts/install-npm.js",
"cli": "ts-node src/cli.ts",
"prepack": "node scripts/pack.js --pre",
"postpack": "node scripts/pack.js --post",
"postinstall": "ropm copy"
"cli": "ts-node src/cli.ts"
},
"repository": {
"type": "git",
Expand Down
20 changes: 0 additions & 20 deletions bsc-plugin/scripts/pack.js

This file was deleted.

2 changes: 1 addition & 1 deletion framework/src/source/rooibos/Test.bs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ namespace rooibos
m.recordExecutionTime()
end if

return m.differed
return m.deferred
end function

' Sets up a promise chain to link the deferred to the test promise results
Expand Down
7 changes: 4 additions & 3 deletions tests/src/source/Promises.spec.bs
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
namespace tests
@suite
@only()
@async
class PromisesTests extends rooibos.BaseTestSuite

'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
@describe("tests that should as fail")
@describe("tests that should fail")
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

@it("fail the test as the returned to the test promise that will reject")
Expand Down Expand Up @@ -46,7 +47,7 @@ namespace tests
end function

'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
@describe("tests that should as fail as crashes")
@describe("tests that should fail as crashes")
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

@async(100)
Expand Down Expand Up @@ -81,4 +82,4 @@ function toPromiseWithDelay(duration = 0.0001 as float, value = true as dynamic,
end if
end sub, { deferred: deferred, value: value, resolve: resolve }, duration)
return deferred
end function
end function

0 comments on commit cafc050

Please sign in to comment.