Skip to content

Instantly share code, notes, and snippets.

@adamcameron
Created May 14, 2022 20:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamcameron/0df8bb82777d92387f0852c8e26feec8 to your computer and use it in GitHub Desktop.
Save adamcameron/0df8bb82777d92387f0852c8e26feec8 to your computer and use it in GitHub Desktop.
First test for afterAll functionality of TinyTestFramework
<cfscript>
function run() {
afterAll(() => {
writeOutput("afterAll ran OK")
})
describe("Tests of afterAll", () => {
it("is a simple test", () => {
expect(true).toBeTrue()
})
})
}
tinyTest.runTests()
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment